public ServerPacketUserLogin(NetworkError.NetworkError networkError, PLFUser userProfile, Boolean userAccountActivate, byte[] userDAuthPrivateKey) : base(PacketType.SERVERPACKETUSERLOGIN) { this.networkError = networkError; this.userProfile = userProfile; this.userAccountActivate = userAccountActivate; this.userDAuthPrivateKey = userDAuthPrivateKey; }
NetworkError.NetworkError networkError; //network error public ServerPacketUserRegister(Boolean registerSuccess, int userID, NetworkError.NetworkError networkError) : base(PacketType.SERVERPACKETUSERREGISTER) { this.registerSuccess = registerSuccess; this.userID = userID; this.networkError = networkError; }
NetworkError.NetworkError networkError; //network error public ServerPacketAddPet(Boolean registerSuccess, int petID, NetworkError.NetworkError networkError) : base(PacketType.SERVERPACKETADDPET) { this.registerSuccess = registerSuccess; this.petID = petID; this.networkError = networkError; }
NetworkError.NetworkError networkError; //network error public ServerPacketConfirmation(Boolean success, NetworkError.NetworkError networkError) : base(PacketType.SERVERPACKETCONFIRMATION) { this.success = success; this.networkError = networkError; }