Net |
The NetPacketProcessor type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetCallbackFromData | ||
| GetHashT | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ReadAllPackets(NetDataReader) | Reads all available data from NetDataReader and calls OnReceive delegates | |
| ReadAllPackets(NetDataReader, Object) | Reads all available data from NetDataReader and calls OnReceive delegates | |
| ReadPacket(NetDataReader) | Reads one packet from NetDataReader and calls OnReceive delegate | |
| ReadPacket(NetDataReader, Object) | Reads one packet from NetDataReader and calls OnReceive delegate | |
| RegisterNestedTypeT | Register nested property type | |
| RegisterNestedTypeT(FuncT) | Register nested property type | |
| RegisterNestedTypeT(ActionNetDataWriter, T, FuncNetDataReader, T) | Register nested property type | |
| RemoveSubscriptionT | Remove any subscriptions by type | |
| SubscribeT(ActionT, FuncT) | Register and subscribe to packet receive event | |
| SubscribeT, TUserData(ActionT, TUserData, FuncT) | Register and subscribe to packet receive event (with userData) | |
| SubscribeNetSerializableT(ActionT) | Registers a callback for a packet type that implements INetSerializable and has a parameterless constructor. | |
| SubscribeNetSerializableT(ActionT, FuncT) | Registers a callback for a packet type that implements INetSerializable, using a custom constructor. | |
| SubscribeNetSerializableT, TUserData(ActionT, TUserData) | Registers a callback for a packet type that implements INetSerializable and has a parameterless constructor, supporting user data. | |
| SubscribeNetSerializableT, TUserData(ActionT, TUserData, FuncT) | Registers a callback for a packet type that implements INetSerializable, using a custom constructor and supporting user data. | |
| SubscribeReusableT(ActionT) | Register and subscribe to packet receive event This method will overwrite last received packet class on receive (less garbage) | |
| SubscribeReusableT, TUserData(ActionT, TUserData) | Register and subscribe to packet receive event This method will overwrite last received packet class on receive (less garbage) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WriteT | ||
| WriteHashT | ||
| WriteNetSerializableT |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |