Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -159,10 +159,7 @@ namespace Server.Gumps
|
|||
}
|
||||
}
|
||||
|
||||
public static int GetTypeID(Type type)
|
||||
{
|
||||
return type?.FullName?.GetHashCode() ?? -1;
|
||||
}
|
||||
public static int GetTypeID(Type type) => type?.FullName?.GetHashCode() ?? -1;
|
||||
|
||||
public void Invalidate()
|
||||
{
|
||||
|
|
@ -315,10 +312,7 @@ namespace Server.Gumps
|
|||
state.Send(Compile(state));
|
||||
}
|
||||
|
||||
public static byte[] StringToBuffer(string str)
|
||||
{
|
||||
return Encoding.ASCII.GetBytes(str);
|
||||
}
|
||||
public static byte[] StringToBuffer(string str) => Encoding.ASCII.GetBytes(str);
|
||||
|
||||
private Packet Compile(NetState ns = null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue