示例#1
0
 public static void SendVeicheStatusChangedResponse(Character chr, MountStatusChanged status)
 {
     using (RealmPacketOut packet = new RealmPacketOut(RealmServerOpCode.VeicheStatusChanged))
     {
         packet.WriteByte((byte)status);
         packet.WriteInt32(chr.AccId);
         packet.WriteInt32(chr.MountId);
         chr.SendPacketToArea(packet, true, true, Locale.Any, new float?());
     }
 }
示例#2
0
 public static void SendVeicheStatusChangedResponse(Character chr, MountStatusChanged status)
 {
     using (var packet = new RealmPacketOut(RealmServerOpCode.VeicheStatusChanged)) //6767
     {
         packet.WriteByte((byte)status);                                            //{zeroUnsummonOneGetOnTwoSummoning}default value : 1 Len : 1
         packet.WriteInt32(chr.AccId);                                              //{accId}default value : 361343 Len : 4
         packet.WriteInt32(chr.MountId);                                            //{veicheId}default value : 56 Len : 4
         chr.SendPacketToArea(packet, true, true);
     }
 }