87405 {
87407 {
87409 }
87410 if (Main.netMode != 2)
87411 {
87412 return;
87413 }
87415 {
87418 {
87419 for (
int j = 0;
j < 255;
j++)
87420 {
87421 if (Main.player[
j].active)
87422 {
87424 float num =
Math.
Abs(
base.Center.X - Main.player[
j].Center.X) +
Math.
Abs(
base.Center.Y - Main.player[
j].Center.Y);
87425 if (num < 250f)
87426 {
87428 }
87429 else if (num < 500f)
87430 {
87432 }
87433 else if (num < 1000f)
87434 {
87436 }
87437 else if (num < 1500f)
87438 {
87440 }
87442 {
87444 NetMessage.SendData(23,
j, -1,
null, i);
87445 }
87446 }
87447 }
87448 }
87449 }
87451 {
87453 }
87455 {
87457 }
87459 {
87461 }
87463 {
87465 {
87468 {
87470 NetMessage.SendData(23, -1, -1, null, i);
87472 }
87473 else
87474 {
87476 }
87477 }
87479 {
87481 NetMessage.SendData(23, -1, -1, null, i);
87483 }
87484 else
87485 {
87487 }
87488 }
87490 {
87492 }
87494 {
87496 {
87498 NetMessage.SendData(60, -1, -1,
null, i, Main.npc[i].homeTileX, Main.npc[i].homeTileY, (
int)
householdStatus);
87499 }
87503 }
87504 }
static double Abs(double value)
static bool[] UsesMultiplayerProximitySyncing
static int TypeToDefaultHeadIndex(int type)