public ActorComponent() { if (!activating) { _rpcTable = ObjectTypeRPCTable.instance.GetRPCTable(this); } }
public ObjectRPCTable GetRPCTable(SerializableObject obj) { ObjectRPCTable table; if (!rpcTables.TryGetValue(obj.classID, out table)) { table = new ObjectRPCTable(obj.serverType, obj.clientType); rpcTables[obj.classID] = table; } table.Validate(obj); return table; }