public static ValidTile ( int x, int y ) : bool | ||
x | int | |
y | int | |
return | bool |
public static void NetPlaceEntity(int x, int y, int type) { if (type != 1 || !TEItemFrame.ValidTile(x, y)) { return; } NetMessage.SendData(86, -1, -1, (NetworkText)null, TEItemFrame.Place(x, y), (float)x, (float)y, 0.0f, 0, 0, 0); }
public static void NetPlaceEntity(int x, int y, int type) { if (type != 1) { return; } if (!TEItemFrame.ValidTile(x, y)) { return; } int number = TEItemFrame.Place(x, y); NetMessage.SendData(86, -1, -1, "", number, (float)x, (float)y, 0f, 0, 0, 0); }
public override bool IsTileValidForEntity(int x, int y) { return(TEItemFrame.ValidTile(x, y)); }