sendFactionName() public method

public sendFactionName ( WorldClient client, UInt32 factionID, string factionName ) : void
client WorldClient
factionID System.UInt32
factionName string
return void
Exemplo n.º 1
0
        public void processLoadFactionName(ref byte[] packet)
        {
            byte[] factionBytes = { packet[0], packet[1], packet[2],packet[3] };
            UInt32 factionId = NumericalUtils.ByteArrayToUint32(factionBytes, 1);

            ServerPackets pak = new ServerPackets();
            pak.sendFactionName(Store.currentClient, factionId, "The Duality Dude");
        }
Exemplo n.º 2
0
        public void processLoadFactionName(ref byte[] packet)
        {
            byte[] factionBytes = { packet[0], packet[1], packet[2], packet[3] };
            UInt32 factionId    = NumericalUtils.ByteArrayToUint32(factionBytes, 1);

            ServerPackets pak = new ServerPackets();

            pak.sendFactionName(Store.currentClient, factionId, "The Duality Dude");
        }
Exemplo n.º 3
0
        public void processLoadFactionName(ref byte[] packet)
        {
            PacketReader packetReader = new PacketReader(packet);
            UInt32       factionId    = packetReader.readUInt32(1);

            string factionName = Store.dbManager.WorldDbHandler.getFactionNameById(factionId);

            ServerPackets pak = new ServerPackets();

            pak.sendFactionName(Store.currentClient, factionId, factionName);
        }