public sendFactionName ( |
||
client | ||
factionID | ||
factionName | string | |
Результат | void |
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"); }
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"); }
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); }