public static void Broadcast(GunAnimationType animType) { if (Main.netMode != 1) { throw new ModLibsException("Not a client."); } var packet = new GunAnimationPacket(Main.myPlayer, animType); SimplePacket.SendToServer(packet); }
public static void Broadcast(GunAnimationType animType) { if (Main.netMode != 1) { throw new ModLibsException("Not a client."); } var packet = new GunAnimationPacket(Main.myPlayer, animType); SimplePacket.SendToServer(packet); }