void SendPetStableResult(StableResult result) { PetStableResult petStableResult = new(); petStableResult.Result = result; SendPacket(petStableResult); }
public static void SendStableResult(IPacketReceiver receiver, StableResult result) { using (RealmPacketOut packet = new RealmPacketOut(RealmServerOpCode.SMSG_STABLE_RESULT, 1)) { packet.Write((byte)result); receiver.Send(packet, false); } }
public static void SendStableResult(IPacketReceiver receiver, StableResult result) { using (var packet = new RealmPacketOut(RealmServerOpCode.SMSG_STABLE_RESULT, 1)) { packet.Write((byte)result); receiver.Send(packet); } }