public RegisterClusterSuccesful(uint clusterId, bool succesful, PushSocket socket) { OutgoingInterserverPacket packet = new OutgoingInterserverPacket(OpCodes.REGISTER_CLUSTER_REQUEST_SUCCESFUL); packet.Write(clusterId); packet.Write(succesful); packet.Send(socket); }
public RegisterChannelRequestSuccesful(bool accepted, uint channelId, PushSocket socket) { OutgoingInterserverPacket packet = new OutgoingInterserverPacket(OpCodes.REGISTER_CHANNEL_REQUEST_SUCCESFUL); packet.Write(accepted); packet.Write(channelId); packet.Send(socket); }
public RegisterNewChannelSuccesful(uint channelId, bool succesful, PushSocket socket) { OutgoingInterserverPacket packet = new OutgoingInterserverPacket(OpCodes.REGISTER_NEW_CHANNEL_SUCCESFUL); packet.Write(channelId); packet.Write(succesful); packet.Send(socket); }
public RegisterClusterRequest(uint clusterId, string authorizationPassword, string ip, string sendPort, PublisherSocket socket) { OutgoingInterserverPacket packet = new OutgoingInterserverPacket(OpCodes.REGISTER_CLUSTER_REQUEST); packet.Write(clusterId); packet.Write(authorizationPassword); packet.Write(ip); packet.Write(sendPort); packet.Send(socket, "SharpFlyLogin"); }
public RegisterNewChannelRequest(uint clusterId, string authorizationPassword, string name, uint playerCount, uint maxPlayerCount, PublisherSocket socket) { OutgoingInterserverPacket packet = new OutgoingInterserverPacket(OpCodes.REGISTER_NEW_CHANNEL); packet.Write(authorizationPassword); packet.Write(clusterId); packet.Write(name); packet.Write(playerCount); packet.Write(maxPlayerCount); packet.Send(socket); }
public RegisterChannelRequest(string authorizationPassword, string ip, string sendPort, string name, uint maxPlayerCount, PublisherSocket socket) { OutgoingInterserverPacket packet = new OutgoingInterserverPacket(OpCodes.REGISTER_CHANNEL_REQUEST); packet.Write(authorizationPassword); packet.Write(ip); packet.Write(sendPort); packet.Write(name); packet.Write(maxPlayerCount); packet.Send(socket, "SharpFlyCluster"); }