public void OnWeaponSwitch(SagaMap.Packets.Client.SendWeaponSwitch p) { if (this.state != SESSION_STATE.MAP_LOADED) { return; } Packets.Server.WeaponSwitch p1 = new SagaMap.Packets.Server.WeaponSwitch(); p1.SetID(p.GetID()); this.netIO.SendPacket(p1, this.SessionID); }
public void OnWeaponSwitch(SagaMap.Packets.Client.SendWeaponSwitch p) { if (this.state != SESSION_STATE.MAP_LOADED) return; Packets.Server.WeaponSwitch p1 = new SagaMap.Packets.Server.WeaponSwitch(); p1.SetID(p.GetID()); this.netIO.SendPacket(p1, this.SessionID); }