public static long ReadLongFromPacket( CompressionInfo.LongInteger compressionInfo, ref bool bufferReadValid) { long output = 0; bufferReadValid = bufferReadValid && MBAPI.IMBNetwork.ReadLongFromPacket(ref compressionInfo, out output); return(output); }
public static void WriteLongToPacket(long value, CompressionInfo.LongInteger compressionInfo) { MBAPI.IMBNetwork.WriteLongToPacket(value, ref compressionInfo); DebugNetworkEventStatistics.AddDataToStatistic(compressionInfo.GetNumBits()); }
public void WriteLongToPacket(long value, ref CompressionInfo.LongInteger compressionInfo) => ScriptingInterfaceOfIMBNetwork.call_WriteLongToPacketDelegate(value, ref compressionInfo);
public bool ReadLongFromPacket(ref CompressionInfo.LongInteger compressionInfo, out long output) => ScriptingInterfaceOfIMBNetwork.call_ReadLongFromPacketDelegate(ref compressionInfo, out output);