public static void SendOccupyingPointStartedResponse(IRealmClient client, short pointId, OcupationPointStartedStatus status) { using (RealmPacketOut packet = new RealmPacketOut(RealmServerOpCode.OccupyingPointStarted)) { packet.WriteInt16(pointId); packet.WriteByte((byte)status); packet.WriteInt32(client.ActiveCharacter.AccId); client.ActiveCharacter.SendPacketToArea(packet, true, true, Locale.Any, new float?()); } }
public static void SendOccupyingPointStartedResponse(IRealmClient client, short pointId, OcupationPointStartedStatus status) { using (var packet = new RealmPacketOut(RealmServerOpCode.OccupyingPointStarted)) //6724 { packet.WriteInt16(pointId); //{point}default value : 6 Len : 2 packet.WriteByte((byte)status); //{factionId}default value : 1 Len : 1 packet.WriteInt32(client.ActiveCharacter.AccId); //{accId}default value : 361343 Len : 4 client.ActiveCharacter.SendPacketToArea(packet, true, true); } }