14 public string Name =
"Anonymous";
36 public bool[,]
TileSections =
new bool[Main.maxTilesX / 200 + 1, Main.maxTilesY / 150 + 1];
128 for (
int i = sectionX - fluff; i < sectionX + fluff + 1; i++)
130 for (
int j = sectionY - fluff; j < sectionY + fluff + 1; j++)
146 for (
int k = sectionX - fluff; k < sectionX + fluff + 1; k++)
148 for (
int l = sectionY - fluff; l < sectionY + fluff + 1; l++)
157 for (
int i = 0; i < 4; i++)
312 else if (State != 3 && State == 10)
static LocalizedText[] inter
static string GetTextValue(string key)
static NetworkText FromKey(string key, params object[] substitutions)
static void SendData(int msgType, int remoteClient=-1, int ignoreClient=-1, NetworkText text=null, int number=0, float number2=0f, float number3=0f, float number4=0f, int number5=0, int number6=0, int number7=0)
static void ReceiveBytes(byte[] bytes, int streamLength, int i=256)
static MessageBuffer[] buffer
static void BootPlayer(int plr, NetworkText msg)
static void SendSection(int whoAmi, int sectionX, int sectionY)
static RemoteClient[] Clients
static int GetSectionX(int x)
static int GetSectionY(int y)
bool IsAnnouncementCompleted
void ServerWriteCallBack(object state)
static void CheckSection(int playerIndex, Vector2 position, int fluff=1)
void ServerReadCallBack(object state, int length)
bool PendingTerminationApproved
bool SectionRange(int size, int firstX, int firstY)
void AsyncReceive(byte[] data, int offset, int size, SocketReceiveCallback callback, object state=null)
RemoteAddress GetRemoteAddress()