public function __construct() { global $PRISM; # Send out some info requests $ISP = new IS_TINY(); $ISP->ReqI = 1; // Request every bit of information we can get. // This becomes our baseline that we use and update as needed. $ISP->SubT(TINY_GTH)->Send(); # Get Time in Hundredths (SMALL_RTP) $ISP->SubT(TINY_SCP)->Send(); # Send Camera Pos (ISP_CPP) $ISP->SubT(TINY_SST)->Send(); # Send STate info (ISP_STA) $ISP->SubT(TINY_ISM)->Send(); # Get Multiplayer Info (ISP_ISM) $ISP->SubT(TINY_NCN)->Send(); # get all connections (ISP_NCN) $ISP->SubT(TINY_NPL)->Send(); # get all players (ISP_NPL) $ISP->SubT(TINY_RES)->Send(); # get all results (ISP_RES) $ISP->SubT(TINY_REO)->Send(); # send an IS_REO (ISP_REO) $ISP->SubT(TINY_RST)->Send(); # send an IS_RST (ISP_RST) $ISP->SubT(TINY_AXI)->Send(); # send an IS_AXI - AutoX Info (ISP_AXI) if (!$PRISM->hosts->getHostById()->isRelay()) { $ISP->SubT(TINY_NLP)->Send(); # send an IS_NLP (ISP_NLP) $ISP->SubT(TINY_MCI)->Send(); # send an IS_MCI (ISP_MCI) $ISP->SubT(TINY_RIP)->Send(); # send an IS_RIP - Replay Information Packet (ISP_RIP) } }
public function onRestart(IS_RST $RST) { $this->race = array(); $BNF = new IS_BFN(); $BNF->SubT(BFN_DEL_BTN)->Send(); $TINY = new IS_TINY(); $TINY->ReqI(255)->SubT(TINY_NPL)->Send(); }