public bool WrestleMove(WrestleType type) { Packet p = null; switch (type) { case WrestleType.Disarm: p = new PWrestleDisarm(); break; case WrestleType.Stun: p = new PWrestleStun(); break; } return((p != null) && Network.Send(p)); }
public bool WrestleMove(WrestleType type) { Packet p = null; switch (type) { case WrestleType.Disarm: p = new PWrestleDisarm(); break; case WrestleType.Stun: p = new PWrestleStun(); break; } return ((p != null) && Network.Send(p)); }