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); } } }
public SubPacket CreateSetActorIconPacket() { return(SetActorIconPacket.BuildPacket(actorId, currentActorIcon)); }
public SubPacket createSetActorIconPacket(uint playerActorId) { return(SetActorIconPacket.buildPacket(actorId, playerActorId, currentActorIcon)); }