Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -243,11 +243,7 @@ namespace Server.Network {
|
|||
public Compressor32() {
|
||||
}
|
||||
|
||||
public string Version {
|
||||
get {
|
||||
return SafeNativeMethods.zlibVersion();
|
||||
}
|
||||
}
|
||||
public string Version => SafeNativeMethods.zlibVersion();
|
||||
|
||||
public ZLibError Compress( byte[] dest, ref int destLength, byte[] source, int sourceLength ) {
|
||||
return SafeNativeMethods.compress(dest, ref destLength, source, sourceLength);
|
||||
|
|
@ -280,11 +276,7 @@ namespace Server.Network {
|
|||
public Compressor64() {
|
||||
}
|
||||
|
||||
public string Version {
|
||||
get {
|
||||
return SafeNativeMethods.zlibVersion();
|
||||
}
|
||||
}
|
||||
public string Version => SafeNativeMethods.zlibVersion();
|
||||
|
||||
public ZLibError Compress( byte[] dest, ref int destLength, byte[] source, int sourceLength ) {
|
||||
return SafeNativeMethods.compress(dest, ref destLength, source, sourceLength);
|
||||
|
|
@ -317,11 +309,7 @@ namespace Server.Network {
|
|||
public CompressorUnix32() {
|
||||
}
|
||||
|
||||
public string Version {
|
||||
get {
|
||||
return SafeNativeMethods.zlibVersion();
|
||||
}
|
||||
}
|
||||
public string Version => SafeNativeMethods.zlibVersion();
|
||||
|
||||
public ZLibError Compress( byte[] dest, ref int destLength, byte[] source, int sourceLength ) {
|
||||
return SafeNativeMethods.compress(dest, ref destLength, source, sourceLength);
|
||||
|
|
@ -354,11 +342,7 @@ namespace Server.Network {
|
|||
public CompressorUnix64() {
|
||||
}
|
||||
|
||||
public string Version {
|
||||
get {
|
||||
return SafeNativeMethods.zlibVersion();
|
||||
}
|
||||
}
|
||||
public string Version => SafeNativeMethods.zlibVersion();
|
||||
|
||||
public ZLibError Compress( byte[] dest, ref int destLength, byte[] source, int sourceLength ) {
|
||||
ulong destLengthLong = (ulong)destLength;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue