コード例 #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(uint playerActorId)
 {
     return(SetActorIconPacket.buildPacket(actorId, playerActorId, currentActorIcon));
 }