Пример #1
0
 public void setDCFlag(bool flag)
 {
     if (flag)
     {
         broadcastPacket(SetActorIconPacket.buildPacket(actorId, actorId, SetActorIconPacket.DISCONNECTING), true);
     }
     else
     {
         if (isGM)
         {
             broadcastPacket(SetActorIconPacket.buildPacket(actorId, actorId, SetActorIconPacket.ISGM), true);
         }
         else
         {
             broadcastPacket(SetActorIconPacket.buildPacket(actorId, actorId, 0), true);
         }
     }
 }
Пример #2
0
 public SubPacket CreateSetActorIconPacket()
 {
     return(SetActorIconPacket.BuildPacket(actorId, currentActorIcon));
 }
Пример #3
0
 public SubPacket createSetActorIconPacket(uint playerActorId)
 {
     return(SetActorIconPacket.buildPacket(actorId, playerActorId, currentActorIcon));
 }