SYMBOL INDEX (437 symbols across 41 files) FILE: Assets/Scripts/Helper/ByteHelper.cs class ByteHelper (line 5) | public static class ByteHelper method ToHex (line 7) | public static string ToHex(this byte b) method ToHex (line 12) | public static string ToHex(this byte[] bytes) method ToHex (line 22) | public static string ToHex(this byte[] bytes, string format) method ToHex (line 32) | public static string ToHex(this byte[] bytes, int offset, int count) method ToStr (line 42) | public static string ToStr(this byte[] bytes) method ToStr (line 47) | public static string ToStr(this byte[] bytes, int index, int count) method Utf8ToStr (line 52) | public static string Utf8ToStr(this byte[] bytes) method Utf8ToStr (line 57) | public static string Utf8ToStr(this byte[] bytes, int index, int count) method WriteTo (line 62) | public static void WriteTo(this byte[] bytes, int offset, uint num) method WriteTo (line 70) | public static void WriteTo(this byte[] bytes, int offset, int num) method WriteTo (line 78) | public static void WriteTo(this byte[] bytes, int offset, byte num) method WriteTo (line 83) | public static void WriteTo(this byte[] bytes, int offset, short num) method WriteTo (line 89) | public static void WriteTo(this byte[] bytes, int offset, ushort num) FILE: Assets/Scripts/Helper/MonoSingleton.cs class MonoSingleton (line 3) | public abstract class MonoSingleton : MonoBehaviour where T : MonoSin... method Startup (line 34) | public void Startup() method Awake (line 39) | private void Awake() method Init (line 50) | public virtual void Init() method DestroySelf (line 55) | public void DestroySelf() method Dispose (line 62) | public virtual void Dispose() FILE: Assets/Scripts/Helper/NetworkHelper.cs class NetworkHelper (line 5) | public static class NetworkHelper method ToIPEndPoint (line 7) | public static IPEndPoint ToIPEndPoint(string host, int port) method ToIPEndPoint (line 12) | public static IPEndPoint ToIPEndPoint(string address) FILE: Assets/Scripts/Helper/RandomHelper.cs class RandomHelper (line 5) | public static class RandomHelper method RandUInt64 (line 9) | public static UInt64 RandUInt64() method RandInt64 (line 16) | public static Int64 RandInt64() method RandomNumber (line 29) | public static int RandomNumber(int lower, int upper) FILE: Assets/Scripts/Helper/TimeHelper.cs class TimeHelper (line 5) | public static class TimeHelper method ClientNow (line 12) | public static long ClientNow() method ClientNowSeconds (line 17) | public static long ClientNowSeconds() method Now (line 22) | public static long Now() FILE: Assets/Scripts/Network/AChannel.cs type ChannelType (line 8) | public enum ChannelType class AChannel (line 14) | public class AChannel method OnConnect (line 53) | public void OnConnect(int code) method OnRead (line 59) | protected void OnRead(MemoryStream memoryStream) method OnError (line 64) | protected void OnError(int e) method AChannel (line 70) | protected AChannel(AService service, ChannelType channelType) method Start (line 76) | public virtual void Start() method Send (line 80) | public virtual void Send(MemoryStream stream) method Dispose (line 84) | public virtual void Dispose() FILE: Assets/Scripts/Network/AService.cs type NetworkProtocol (line 6) | public enum NetworkProtocol class AService (line 13) | public abstract class AService method GetChannel (line 15) | public abstract AChannel GetChannel(); method ConnectChannel (line 17) | public abstract AChannel ConnectChannel(IPEndPoint ipEndPoint); method ConnectChannel (line 19) | public abstract AChannel ConnectChannel(string address); method Update (line 21) | public abstract void Update(); method Dispose (line 23) | public abstract void Dispose(); FILE: Assets/Scripts/Network/ClientManager.cs class ClientManager (line 10) | public class ClientManager : MonoSingleton, INetworkManager method Init (line 23) | public override void Init() method InitService (line 29) | public void InitService(NetworkProtocol protocol, int packetSize = Pac... method Connect (line 48) | public void Connect(IPEndPoint ipEndPoint) method Connect (line 58) | public void Connect(string address) method Connect (line 65) | public void Connect(string ip, int port) method Update (line 72) | public void Update() method Send (line 84) | public void Send(byte[] data) method Dispose (line 89) | public override void Dispose() FILE: Assets/Scripts/Network/Core/KCP/KCP.cs class KCP (line 11) | public class KCP method ikcp_encode8u (line 50) | public static void ikcp_encode8u(byte[] p, int offset, byte c) method ikcp_decode8u (line 56) | public static byte ikcp_decode8u(byte[] p, ref int offset) method ikcp_encode16u (line 62) | public static void ikcp_encode16u(byte[] p, int offset, UInt16 v) method ikcp_decode16u (line 69) | public static UInt16 ikcp_decode16u(byte[] p, ref int offset) method ikcp_encode32u (line 77) | public static void ikcp_encode32u(byte[] p, int offset, UInt32 l) method ikcp_decode32u (line 86) | public static UInt32 ikcp_decode32u(byte[] p, ref int offset) method _imin_ (line 94) | public static UInt32 _imin_(UInt32 a, UInt32 b) method _imax_ (line 99) | public static UInt32 _imax_(UInt32 a, UInt32 b) method _ibound_ (line 104) | public static UInt32 _ibound_(UInt32 lower, UInt32 middle, UInt32 upper) method _itimediff (line 109) | public static Int32 _itimediff(UInt32 later, UInt32 earlier) class Segment (line 114) | internal class Segment method Segment (line 129) | internal Segment(int size = 0) method Encode (line 134) | internal void Encode(byte[] ptr, ref int offset) method KCP (line 212) | public KCP(UInt32 conv, object user) method Release (line 237) | public void Release() method SetOutput (line 254) | public void SetOutput(OutputDelegate output) method Recv (line 260) | public int Recv(byte[] buffer, int offset, int len) method PeekSize (line 343) | public int PeekSize() method Send (line 368) | public int Send(byte[] buffer, int offset, int len) method UpdateACK (line 409) | void UpdateACK(Int32 rtt) method ShrinkBuf (line 432) | void ShrinkBuf() method ParseACK (line 446) | void ParseACK(UInt32 sn) method ParseUNA (line 467) | void ParseUNA(UInt32 una) method ParseFastACK (line 486) | void ParseFastACK(UInt32 sn) method ACKPush (line 508) | void ACKPush(UInt32 sn, UInt32 ts) method ACKGet (line 534) | void ACKGet(int pos, ref UInt32 sn, ref UInt32 ts) method ParseData (line 541) | void ParseData(Segment newseg) method Input (line 602) | public int Input(byte[] data, int offset, int size) method WndUnused (line 742) | int WndUnused() method Flush (line 750) | void Flush() method Update (line 967) | public void Update(UInt32 current) method Check (line 1000) | public UInt32 Check(UInt32 current) method SetMTU (line 1039) | public int SetMTU(int mtu) method Interval (line 1051) | public int Interval(int interval) method NoDelay (line 1067) | public int NoDelay(int nodelay, int interval, int resend, int nc) method WndSize (line 1101) | public int WndSize(int sndwnd, int rcvwnd) method WaitSnd (line 1111) | public int WaitSnd() method GetConv (line 1117) | public UInt32 GetConv() method GetState (line 1122) | public UInt32 GetState() method SetMinRTO (line 1127) | public void SetMinRTO(int minrto) method SetFastResend (line 1132) | public void SetFastResend(int resend) method Log (line 1137) | void Log(int mask, string format, params object[] args) FILE: Assets/Scripts/Network/Core/KCP/KChannel.cs type WaitSendBuffer (line 13) | public struct WaitSendBuffer method WaitSendBuffer (line 18) | public WaitSendBuffer(byte[] bytes, int length) class KChannel (line 26) | public class KChannel : AChannel method KChannel (line 48) | public KChannel(uint localConn, Socket socket, IPEndPoint remoteEndPoi... method Dispose (line 62) | public void Dispose() method Disconnect (line 96) | public void Disconnect(int error) method GetService (line 101) | private KService GetService() method HandleConnnect (line 106) | public void HandleConnnect(uint remoteConn) method Accept (line 127) | public void Accept() method Connect (line 154) | private void Connect() method Disconnect (line 177) | private void Disconnect() method Update (line 199) | public void Update() method HandleSend (line 237) | private void HandleSend() method HandleRecv (line 251) | public void HandleRecv(byte[] date, int offset, int length) method Start (line 289) | public override void Start() method Output (line 293) | public void Output(IntPtr bytes, int count) method SetOutput (line 318) | public void SetOutput() method KcpOutput (line 330) | #if ENABLE_IL2CPP method KcpSend (line 339) | private void KcpSend(byte[] buffers, int length) method Send (line 344) | private void Send(byte[] buffer, int index, int length) method Send (line 355) | public override void Send(MemoryStream stream) method KChannel (line 393) | public KChannel(uint localConn, Socket socket, IPEndPoint remoteEndPoi... method Dispose (line 407) | public override void Dispose() method Disconnect (line 433) | public void Disconnect(int error) method GetService (line 438) | private KService GetService() method HandleConnnect (line 443) | public void HandleConnnect(uint remoteConn) method Connect (line 466) | private void Connect() method Disconnect (line 490) | private void Disconnect() method Update (line 511) | public void Update() method HandleSend (line 549) | private void HandleSend() method HandleRecv (line 563) | public void HandleRecv(byte[] date, int offset, int length) method Start (line 608) | public override void Start() method Output (line 612) | public void Output(byte[] bytes, int count) method SetOutput (line 635) | public void SetOutput() method KcpOutput (line 642) | public static void KcpOutput(byte[] bytes, int len, object user) method KcpSend (line 647) | private void KcpSend(byte[] buffers, int length) method Send (line 652) | private void Send(byte[] buffer, int index, int length) method Send (line 663) | public override void Send(MemoryStream stream) class KChannel (line 373) | public class KChannel : AChannel method KChannel (line 48) | public KChannel(uint localConn, Socket socket, IPEndPoint remoteEndPoi... method Dispose (line 62) | public void Dispose() method Disconnect (line 96) | public void Disconnect(int error) method GetService (line 101) | private KService GetService() method HandleConnnect (line 106) | public void HandleConnnect(uint remoteConn) method Accept (line 127) | public void Accept() method Connect (line 154) | private void Connect() method Disconnect (line 177) | private void Disconnect() method Update (line 199) | public void Update() method HandleSend (line 237) | private void HandleSend() method HandleRecv (line 251) | public void HandleRecv(byte[] date, int offset, int length) method Start (line 289) | public override void Start() method Output (line 293) | public void Output(IntPtr bytes, int count) method SetOutput (line 318) | public void SetOutput() method KcpOutput (line 330) | #if ENABLE_IL2CPP method KcpSend (line 339) | private void KcpSend(byte[] buffers, int length) method Send (line 344) | private void Send(byte[] buffer, int index, int length) method Send (line 355) | public override void Send(MemoryStream stream) method KChannel (line 393) | public KChannel(uint localConn, Socket socket, IPEndPoint remoteEndPoi... method Dispose (line 407) | public override void Dispose() method Disconnect (line 433) | public void Disconnect(int error) method GetService (line 438) | private KService GetService() method HandleConnnect (line 443) | public void HandleConnnect(uint remoteConn) method Connect (line 466) | private void Connect() method Disconnect (line 490) | private void Disconnect() method Update (line 511) | public void Update() method HandleSend (line 549) | private void HandleSend() method HandleRecv (line 563) | public void HandleRecv(byte[] date, int offset, int length) method Start (line 608) | public override void Start() method Output (line 612) | public void Output(byte[] bytes, int count) method SetOutput (line 635) | public void SetOutput() method KcpOutput (line 642) | public static void KcpOutput(byte[] bytes, int len, object user) method KcpSend (line 647) | private void KcpSend(byte[] buffers, int length) method Send (line 652) | private void Send(byte[] buffer, int index, int length) method Send (line 663) | public override void Send(MemoryStream stream) FILE: Assets/Scripts/Network/Core/KCP/KService.cs class KcpProtocalType (line 10) | public static class KcpProtocalType class KService (line 18) | public sealed class KService : AService method KService (line 38) | public KService() method Dispose (line 49) | public override void Dispose() method Recv (line 57) | public void Recv() method GetKChannel (line 94) | public KChannel GetKChannel() method GetChannel (line 99) | public override AChannel GetChannel() method Output (line 105) | public static void Output(IntPtr bytes, int count, IntPtr user) method Output (line 107) | public static void Output(byte[] bytes, int count, object user) method ConnectChannel (line 124) | public override AChannel ConnectChannel(IPEndPoint remoteEndPoint) method ConnectChannel (line 131) | public override AChannel ConnectChannel(string address) method Update (line 137) | public override void Update() FILE: Assets/Scripts/Network/Core/KCP/KcpDll.cs class KcpDll (line 8) | public class KcpDll method ikcp_check (line 16) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_create (line 18) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_flush (line 20) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_getconv (line 22) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_input (line 24) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_nodelay (line 26) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_peeksize (line 28) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_recv (line 30) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_release (line 32) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_send (line 34) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_setminrto (line 36) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_setmtu (line 38) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_setoutput (line 40) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_update (line 42) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_waitsnd (line 44) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method ikcp_wndsize (line 46) | [DllImport(KcpDLL, CallingConvention=CallingConvention.Cdecl)] method KcpCheck (line 49) | public static uint KcpCheck(IntPtr kcp, uint current) method KcpCreate (line 58) | public static IntPtr KcpCreate(uint conv, IntPtr user) method KcpFlush (line 63) | public static void KcpFlush(IntPtr kcp) method KcpGetconv (line 72) | public static uint KcpGetconv(IntPtr ptr) method KcpInput (line 81) | public static int KcpInput(IntPtr kcp, byte[] data, int offset, int size) method KcpNodelay (line 90) | public static int KcpNodelay(IntPtr kcp, int nodelay, int interval, in... method KcpPeeksize (line 99) | public static int KcpPeeksize(IntPtr kcp) method KcpRecv (line 108) | public static int KcpRecv(IntPtr kcp, byte[] buffer, int len) method KcpRelease (line 117) | public static void KcpRelease(IntPtr kcp) method KcpSend (line 126) | public static int KcpSend(IntPtr kcp, byte[] buffer, int len) method KcpSetminrto (line 135) | public static void KcpSetminrto(IntPtr kcp, int minrto) method KcpSetmtu (line 144) | public static int KcpSetmtu(IntPtr kcp, int mtu) method KcpSetoutput (line 153) | public static void KcpSetoutput(IntPtr kcp, KcpOutput output) method KcpUpdate (line 162) | public static void KcpUpdate(IntPtr kcp, uint current) method KcpWaitsnd (line 171) | public static int KcpWaitsnd(IntPtr kcp) method KcpWndsize (line 180) | public static int KcpWndsize(IntPtr kcp, int sndwnd, int rcvwnd) FILE: Assets/Scripts/Network/Core/TCP/PacketParser.cs type ParserState (line 6) | public enum ParserState class Packet (line 12) | public static class Packet class PacketParser (line 21) | public class PacketParser method PacketParser (line 30) | public PacketParser(int packetSizeLength, CircularBuffer buffer, Memor... method Parse (line 37) | public bool Parse() method GetPacket (line 101) | public MemoryStream GetPacket() FILE: Assets/Scripts/Network/Core/TCP/TChannel.cs class TChannel (line 12) | public sealed class TChannel: AChannel method TChannel (line 32) | public TChannel(IPEndPoint ipEndPoint, TService service): base(service... method Dispose (line 51) | public override void Dispose() method GetService (line 62) | private TService GetService() method Start (line 67) | public override void Start() method Send (line 82) | public override void Send(MemoryStream stream) method OnComplete (line 108) | private void OnComplete(object sender, SocketAsyncEventArgs e) method ConnectAsync (line 129) | public void ConnectAsync(IPEndPoint ipEndPoint) method OnConnectComplete (line 139) | private void OnConnectComplete(object o) method OnDisconnectComplete (line 160) | private void OnDisconnectComplete(object o) method StartRecv (line 166) | private void StartRecv() method RecvAsync (line 172) | public void RecvAsync(byte[] buffer, int offset, int count) method OnRecvComplete (line 190) | private void OnRecvComplete(object o) method StartSend (line 254) | public void StartSend() method SendAsync (line 279) | public void SendAsync(byte[] buffer, int offset, int count) method OnSendComplete (line 296) | private void OnSendComplete(object o) FILE: Assets/Scripts/Network/Core/TCP/TChannelConnector.cs class TClientConnection (line 13) | public sealed class TClientConnection : AChannel method TClientConnection (line 34) | public TClientConnection(Socket clientSocket, TServiceServer service) ... method Dispose (line 51) | public override void Dispose() method Start (line 60) | public override void Start() method Update (line 70) | public void Update() method OnComplete (line 87) | private void OnComplete(object sender, SocketAsyncEventArgs e) method OnDisconnectComplete (line 105) | private void OnDisconnectComplete(object o) method StartRecv (line 111) | private void StartRecv() method RecvAsync (line 117) | public void RecvAsync(byte[] buffer, int offset, int count) method OnRecvComplete (line 136) | private void OnRecvComplete(object o) method Send (line 194) | public override void Send(MemoryStream stream) method StartSend (line 222) | public void StartSend() method SendAsync (line 250) | public void SendAsync(byte[] buffer, int offset, int count) method OnSendComplete (line 269) | private void OnSendComplete(object o) method OnError (line 295) | private new void OnError(int error) method OnMessage (line 301) | private void OnMessage(byte[] obj) FILE: Assets/Scripts/Network/Core/TCP/TChannelServer.cs class TChannelServer (line 13) | public sealed class TChannelServer : AChannel method TChannelServer (line 27) | public TChannelServer(IPEndPoint ipEndPoint, TServiceServer service) :... method Update (line 41) | public void Update() method Send (line 49) | public override void Send(MemoryStream stream) method Dispose (line 57) | public override void Dispose() method Start (line 69) | public override void Start() method AcceptAsync (line 74) | private void AcceptAsync() method OnAcceptComplete (line 80) | private void OnAcceptComplete(object sender, SocketAsyncEventArgs e) method OnDisconnect (line 105) | public void OnDisconnect(TClientConnection connection) FILE: Assets/Scripts/Network/Core/TCP/TService.cs class TService (line 12) | public sealed class TService : AService method TService (line 20) | public TService(int packetSizeLength) method Dispose (line 25) | public override void Dispose() method GetChannel (line 30) | public override AChannel GetChannel() method ConnectChannel (line 35) | public override AChannel ConnectChannel(IPEndPoint ipEndPoint) method ConnectChannel (line 41) | public override AChannel ConnectChannel(string address) method Update (line 47) | public override void Update() FILE: Assets/Scripts/Network/Core/TCP/TServiceServer.cs class TServiceServer (line 11) | public sealed class TServiceServer : AService method TServiceServer (line 19) | public TServiceServer(int packetSizeLength) method Dispose (line 24) | public override void Dispose() method GetChannel (line 29) | public override AChannel GetChannel() method ConnectChannel (line 34) | public override AChannel ConnectChannel(IPEndPoint ipEndPoint) method ConnectChannel (line 40) | public override AChannel ConnectChannel(string address) method Update (line 45) | public override void Update() FILE: Assets/Scripts/Network/Core/WebSocket/WChannel.cs class WChannel (line 10) | public class WChannel: AChannel method WChannel (line 26) | public WChannel(HttpListenerWebSocketContext webSocketContext, AServic... method WChannel (line 38) | public WChannel(WebSocket webSocket, AService service): base(service, ... method Dispose (line 48) | public override void Dispose() method Start (line 59) | public override void Start() method GetService (line 70) | private WService GetService() method ConnectAsync (line 75) | public async void ConnectAsync(string url) method Send (line 90) | public override void Send(MemoryStream stream) method StartSend (line 102) | public async void StartSend() method StartRecv (line 140) | public async void StartRecv() FILE: Assets/Scripts/Network/Core/WebSocket/WService.cs class WService (line 10) | public class WService: AService method WService (line 18) | public WService() method GetChannel (line 22) | public override AChannel GetChannel() method ConnectChannel (line 27) | public override AChannel ConnectChannel(IPEndPoint ipEndPoint) method ConnectChannel (line 32) | public override AChannel ConnectChannel(string address) method Update (line 40) | public override void Update() method Dispose (line 45) | public override void Dispose() FILE: Assets/Scripts/Network/INetworkManager.cs type INetworkManager (line 5) | public interface INetworkManager FILE: Assets/Scripts/Network/Message/Circularbuffer.cs class CircularBuffer (line 8) | public class CircularBuffer: Stream method CircularBuffer (line 22) | public CircularBuffer() method AddLast (line 48) | public void AddLast() method RemoveFirst (line 63) | public void RemoveFirst() method ReadAsync (line 97) | public void ReadAsync(Stream stream) method Read (line 117) | public void Read(Stream stream, int count) method Write (line 145) | public void Write(Stream stream) method WriteAsync (line 180) | public int WriteAsync(Stream stream) method Read (line 204) | public override int Read(byte[] buffer, int offset, int count) method Write (line 240) | public override void Write(byte[] buffer, int offset, int count) method Flush (line 267) | public override void Flush() method Seek (line 272) | public override long Seek(long offset, SeekOrigin origin) method SetLength (line 277) | public override void SetLength(long value) FILE: Assets/Scripts/Network/Message/ErrorCode.cs class ErrorCode (line 3) | public static class ErrorCode FILE: Assets/Scripts/Network/Message/IMessage.cs type IMessage (line 3) | public interface IMessage type IRequest (line 7) | public interface IRequest: IMessage type IResponse (line 12) | public interface IResponse : IMessage class ErrorResponse (line 19) | public class ErrorResponse : IResponse FILE: Assets/Scripts/Network/Message/IMessageDispatcher.cs type IMessageDispatcher (line 3) | public interface IMessageDispatcher method Dispatch (line 5) | void Dispatch(Session session, byte[] buffer); FILE: Assets/Scripts/Network/Message/IMessagePacker.cs type IMessagePacker (line 6) | public interface IMessagePacker method SerializeTo (line 8) | byte[] SerializeTo(object obj); method SerializeTo (line 9) | void SerializeTo(object obj, MemoryStream stream); method DeserializeFrom (line 10) | object DeserializeFrom(Type type, byte[] bytes, int index, int count); method DeserializeFrom (line 11) | object DeserializeFrom(object instance, byte[] bytes, int index, int c... method DeserializeFrom (line 12) | object DeserializeFrom(Type type, MemoryStream stream); method DeserializeFrom (line 13) | object DeserializeFrom(object instance, MemoryStream stream); FILE: Assets/Scripts/Network/Message/MessageInfo.cs type MessageInfo (line 3) | public struct MessageInfo method MessageInfo (line 8) | public MessageInfo(ushort opcode, object message) FILE: Assets/Scripts/Network/Message/MessagePool.cs class MessagePool (line 7) | public class MessagePool method Fetch (line 13) | public object Fetch(Type type) method Fetch (line 36) | public T Fetch() where T : class method Recycle (line 42) | public void Recycle(object obj) FILE: Assets/Scripts/Network/Message/Opcode.cs class Opcode (line 3) | public static partial class Opcode FILE: Assets/Scripts/Network/Message/OuterMessageDispatcher.cs class OuterMessageDispatcher (line 7) | public class OuterMessageDispatcher: IMessageDispatcher method Dispatch (line 9) | public void Dispatch(Session session, byte[] buffer) FILE: Assets/Scripts/Network/Message/ProtobufPacker.cs class ProtobufPacker (line 8) | public class ProtobufPacker : IMessagePacker method SerializeTo (line 10) | public byte[] SerializeTo(object obj) method SerializeTo (line 18) | public void SerializeTo(object obj, MemoryStream stream) method DeserializeFrom (line 24) | public object DeserializeFrom(Type type, byte[] bytes, int index, int ... method DeserializeFrom (line 30) | public object DeserializeFrom(object instance, byte[] bytes, int index... method DeserializeFrom (line 36) | public object DeserializeFrom(Type type, MemoryStream stream) method DeserializeFrom (line 42) | public object DeserializeFrom(object instance, MemoryStream stream) FILE: Assets/Scripts/Network/Message/RecyclableMemoryStream/Events.cs class RecyclableMemoryStreamManager (line 28) | public sealed partial class RecyclableMemoryStreamManager class Events (line 30) | [EventSource(Name = "Microsoft-IO-RecyclableMemoryStream", Guid = "{B8... type MemoryStreamBufferType (line 35) | public enum MemoryStreamBufferType type MemoryStreamDiscardReason (line 41) | public enum MemoryStreamDiscardReason method MemoryStreamCreated (line 47) | [Event(1, Level = EventLevel.Verbose)] method MemoryStreamDisposed (line 56) | [Event(2, Level = EventLevel.Verbose)] method MemoryStreamDoubleDispose (line 65) | [Event(3, Level = EventLevel.Critical)] method MemoryStreamFinalized (line 76) | [Event(4, Level = EventLevel.Error)] method MemoryStreamToArray (line 85) | [Event(5, Level = EventLevel.Verbose)] method MemoryStreamManagerInitialized (line 94) | [Event(6, Level = EventLevel.Informational)] method MemoryStreamNewBlockCreated (line 103) | [Event(7, Level = EventLevel.Verbose)] method MemoryStreamNewLargeBufferCreated (line 112) | [Event(8, Level = EventLevel.Verbose)] method MemoryStreamNonPooledLargeBufferCreated (line 121) | [Event(9, Level = EventLevel.Verbose)] method MemoryStreamDiscardBuffer (line 130) | [Event(10, Level = EventLevel.Warning)] method MemoryStreamOverCapacity (line 140) | [Event(11, Level = EventLevel.Error)] type EventLevel (line 157) | public enum EventLevel type EventKeywords (line 167) | public enum EventKeywords : long class EventSourceAttribute (line 172) | [AttributeUsage(AttributeTargets.Class)] class EventAttribute (line 179) | [AttributeUsage(AttributeTargets.Method)] method EventAttribute (line 182) | public EventAttribute(int id) { } class EventSource (line 187) | public class EventSource method WriteEvent (line 189) | public void WriteEvent(params object[] unused) method IsEnabled (line 194) | public bool IsEnabled() method IsEnabled (line 199) | public bool IsEnabled(EventLevel level, EventKeywords keywords) FILE: Assets/Scripts/Network/Message/RecyclableMemoryStream/OneThreadSynchronizationContext.cs class OneThreadSynchronizationContext (line 7) | public class OneThreadSynchronizationContext : SynchronizationContext method Update (line 18) | public void Update() method Post (line 30) | public override void Post(SendOrPostCallback callback, object state) FILE: Assets/Scripts/Network/Message/RecyclableMemoryStream/RecyclableMemoryStream.cs class RecyclableMemoryStream (line 60) | public sealed class RecyclableMemoryStream : MemoryStream method RecyclableMemoryStream (line 158) | public RecyclableMemoryStream(RecyclableMemoryStreamManager memoryMana... method RecyclableMemoryStream (line 166) | public RecyclableMemoryStream(RecyclableMemoryStreamManager memoryMana... method RecyclableMemoryStream (line 175) | public RecyclableMemoryStream(RecyclableMemoryStreamManager memoryMana... method RecyclableMemoryStream (line 185) | internal RecyclableMemoryStream(RecyclableMemoryStreamManager memoryMa... method Dispose (line 227) | [SuppressMessage("Microsoft.Usage", "CA1816:CallGCSuppressFinalizeCorr... method Close (line 304) | public void Close() method Close (line 306) | public override void Close() method GetBuffer (line 418) | public byte[] GetBuffer() method GetBuffer (line 420) | public override byte[] GetBuffer() method ToArray (line 462) | [Obsolete("This method has degraded performance vs. GetBuffer and shou... method Read (line 488) | public override int Read(byte[] buffer, int offset, int count) method SafeRead (line 505) | public int SafeRead(byte[] buffer, int offset, int count, ref int stre... method Write (line 543) | public override void Write(byte[] buffer, int offset, int count) method ToString (line 617) | public override string ToString() method WriteByte (line 627) | public override void WriteByte(byte value) method ReadByte (line 639) | public override int ReadByte() method SafeReadByte (line 650) | public int SafeReadByte(ref int streamPosition) method SetLength (line 676) | public override void SetLength(long value) method Seek (line 704) | public override long Seek(long offset, SeekOrigin loc) method WriteTo (line 740) | public override void WriteTo(Stream stream) method CheckDisposed (line 773) | private void CheckDisposed() method InternalRead (line 781) | private int InternalRead(byte[] buffer, int offset, int count, int fro... type BlockAndOffset (line 816) | private struct BlockAndOffset method BlockAndOffset (line 821) | public BlockAndOffset(int block, int offset) method GetBlockAndRelativeOffset (line 828) | private BlockAndOffset GetBlockAndRelativeOffset(int offset) method EnsureCapacity (line 834) | private void EnsureCapacity(int newCapacity) method ReleaseLargeBuffer (line 868) | private void ReleaseLargeBuffer() FILE: Assets/Scripts/Network/Message/RecyclableMemoryStream/RecyclableMemoryStreamManager.cs class RecyclableMemoryStreamManager (line 44) | public partial class RecyclableMemoryStreamManager method RecyclableMemoryStreamManager (line 99) | public RecyclableMemoryStreamManager() method RecyclableMemoryStreamManager (line 110) | public RecyclableMemoryStreamManager(int blockSize, int largeBufferMul... method GetBlock (line 253) | internal byte[] GetBlock() method GetLargeBuffer (line 280) | internal byte[] GetLargeBuffer(int requiredSize, string tag) method RoundToLargeBufferMultiple (line 326) | private int RoundToLargeBufferMultiple(int requiredSize) method IsLargeBufferMultiple (line 331) | private bool IsLargeBufferMultiple(int value) method ReturnLargeBuffer (line 343) | internal void ReturnLargeBuffer(byte[] buffer, string tag) method ReturnBlocks (line 398) | internal void ReturnBlocks(ICollection blocks, string tag) method ReportBlockCreated (line 436) | internal void ReportBlockCreated() method ReportBlockDiscarded (line 441) | internal void ReportBlockDiscarded() method ReportLargeBufferCreated (line 446) | internal void ReportLargeBufferCreated() method ReportLargeBufferDiscarded (line 451) | internal void ReportLargeBufferDiscarded(Events.MemoryStreamDiscardRea... method ReportStreamCreated (line 456) | internal void ReportStreamCreated() method ReportStreamDisposed (line 461) | internal void ReportStreamDisposed() method ReportStreamFinalized (line 466) | internal void ReportStreamFinalized() method ReportStreamLength (line 471) | internal void ReportStreamLength(long bytes) method ReportStreamToArray (line 476) | internal void ReportStreamToArray() method ReportUsageReport (line 481) | internal void ReportUsageReport( method GetStream (line 491) | public MemoryStream GetStream() method GetStream (line 501) | public MemoryStream GetStream(string tag) method GetStream (line 512) | public MemoryStream GetStream(string tag, int requiredSize) method GetStream (line 529) | public MemoryStream GetStream(string tag, int requiredSize, bool asCon... method GetStream (line 549) | [SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects befo... FILE: Assets/Scripts/Network/Message/Session.cs class Session (line 8) | public sealed class Session method Session (line 22) | public Session(AChannel aChannel) method OnConnect (line 31) | private void OnConnect(AChannel channel, int code) method OnError (line 41) | private void OnError(AChannel channel, int code) method Dispose (line 52) | public void Dispose() method Start (line 63) | public void Start(INetworkManager manager) method Run (line 84) | private void Run(MemoryStream memoryStream) method OnRead (line 94) | public void OnRead(MemoryStream memoryStream) method Send (line 106) | public void Send(ushort opcode) method Send (line 118) | public void Send(byte[] buffers) method Send (line 128) | public void Send(MemoryStream stream) FILE: Assets/Scripts/Network/Message/SessionConnector.cs class SessionConnector (line 8) | public sealed class SessionConnector method SessionConnector (line 12) | public SessionConnector(AChannel aChannel) method OnConnect (line 21) | private void OnConnect(AChannel channel, int code) method OnError (line 26) | private void OnError(AChannel channel, int code) method Run (line 31) | private void Run(MemoryStream memoryStream) method OnRead (line 40) | public void OnRead(MemoryStream memoryStream) FILE: Assets/Scripts/Network/Message/SessionServer.cs class SessionServer (line 8) | public sealed class SessionServer method SessionServer (line 22) | public SessionServer(AChannel aChannel) method OnConnect (line 31) | private void OnConnect(AChannel channel, int code) method OnError (line 41) | private void OnError(AChannel channel, int code) method Dispose (line 52) | public void Dispose() method Start (line 63) | public void Start(INetworkManager manager) method Run (line 85) | private void Run(MemoryStream memoryStream) method OnRead (line 95) | public void OnRead(MemoryStream memoryStream) method Send (line 107) | public void Send(ushort opcode) method Send (line 119) | public void Send(byte[] buffers) method Send (line 129) | public void Send(MemoryStream stream) FILE: Assets/Scripts/Network/ServerManager.cs class ServerManager (line 10) | public class ServerManager : MonoSingleton, INetworkManager method Init (line 23) | public override void Init() method InitService (line 29) | public void InitService(NetworkProtocol protocol, int packetSize = Pac... method Connect (line 42) | public void Connect(IPEndPoint ipEndPoint) method Connect (line 52) | public void Connect(string address) method Connect (line 59) | public void Connect(string ip, int port) method Update (line 66) | public void Update() method Send (line 78) | public void Send(byte[] data) method Dispose (line 83) | public override void Dispose() FILE: Assets/Scripts/TestClient.cs class TestClient (line 6) | public class TestClient : MonoBehaviour method Start (line 15) | void Start() method OnMessage (line 28) | private void OnMessage(byte[] obj) method OnError (line 34) | private void OnError(int e) method OnConnect (line 39) | private void OnConnect(int c) method Update (line 44) | private void Update() method GetTimeStamp (line 60) | public static long GetTimeStamp() method Receive (line 65) | public static void Receive() FILE: Assets/Scripts/TestServer.cs class TestServer (line 6) | public class TestServer : MonoBehaviour method Start (line 14) | void Start() method OnMessage (line 27) | private void OnMessage(byte[] obj) method OnError (line 33) | private void OnError(int e) method OnConnect (line 38) | private void OnConnect(int c) method Update (line 43) | private void Update() method GetTimeStamp (line 59) | public static long GetTimeStamp() method Receive (line 64) | public static void Receive()