I think I will just implement all of them.
bool %PacketName%::send(int arg);
bool %PacketName%::emit(array[]);
And Instance Style.
24 hours down for New York State Emergency Medical Technician - Critical Care ambulance rotations, 51 hours to go.
Listen socket created!
Binded to listen socket!
Send socket created!
Conneceted to send socket!
Array
(
[Size] => 20
[Type] => 2
[ReqI] => 1
[Zero] => 0
[Version] => 0.5Y
[Product] => S2
[InSimVer] => 4
)
Array
(
[Size] => 28
[Type] => 5
[ReqI] => 0
[Zero] => 0
[ReplaySpeed] => 1
[Flags] => 3200
[InGameCam] => 0
[ViewPLID] => 0
[NumP] => 0
[NumConns] => 1
[NumFinished] => 0
[RaceInProg] => 0
[QualMins] => 0
[RaceLaps] => 5
[Spare2] => 0
[Spare3] => 0
[Track] => BL1
[Weather] => 0
[Wind] => 1
)
Array
(
[Size] => 28
[Type] => 5
[ReqI] => 0
[Zero] => 0
[ReplaySpeed] => 1
[Flags] => 3200
[InGameCam] => 0
[ViewPLID] => 0
[NumP] => 1
[NumConns] => 1
[NumFinished] => 0
[RaceInProg] => 0
[QualMins] => 0
[RaceLaps] => 1
[Spare2] => 0
[Spare3] => 0
[Track] => AU1
[Weather] => 0
[Wind] => 0
)
Array
(
[Size] => 136
[Type] => 11
[ReqI] => 0
[Zero] => 0
[UCID] => 0
[PLID] => 0
[UserType] => 0
[TextStart] => 0
[Msg] => Autocross : 2 checkpoints
)
Array
(
[Size] => 36
[Type] => 36
[ReqI] => 0
[NumP] => 1
[PLID] =>
)
Array
(
[Size] => 28
[Type] => 17
[ReqI] => 0
[Zero] => 0
[RaceLaps] => 1
[QualMins] => 0
[NumP] => 1
[Spare] => 0
[Track] => AU1
[Weather] => 0
[Wind] => 0
[Flags] => 35
[NumNodes] => 0
[Finish] => 0
[Split1] => 0
[Split2] => 0
[Split3] => 0
)
Array
(
[Size] => 28
[Type] => 5
[ReqI] => 0
[Zero] => 0
[ReplaySpeed] => 1
[Flags] => 19586
[InGameCam] => 2
[ViewPLID] => 2
[NumP] => 1
[NumConns] => 1
[NumFinished] => 0
[RaceInProg] => 1
[QualMins] => 0
[RaceLaps] => 1
[Spare2] => 0
[Spare3] => 0
[Track] => AU1
[Weather] => 0
[Wind] => 0
)
Array
(
[Size] => 16
[Type] => 25
[ReqI] => 0
[PLID] => 2
[STime] => 2980
[ETime] => 2980
[Split] => 1
[Penalty] => 0
[NumStops] => 0
[Sp3] => 0
)
Array
(
[Size] => 16
[Type] => 25
[ReqI] => 0
[PLID] => 2
[STime] => 3480
[ETime] => 3480
[Split] => 2
[Penalty] => 0
[NumStops] => 0
[Sp3] => 0
)
Array
(
[Size] => 20
[Type] => 24
[ReqI] => 0
[PLID] => 2
[LTime] => 5400
[ETime] => 5400
[LapsDone] => 1
[Flags] => 9793
[Sp0] => 0
[Penalty] => 0
[NumStops] => 0
[Sp3] => 0
)
Array
(
[Size] => 84
[Type] => 35
[ReqI] => 0
[PLID] => 2
[UName] =>
[PName] => ^1(E^7AGL^4E)^7Dygear
[Plate] => Dygear
[CName] => XRT
[TTime] => 5400
[BTime] => 5400
[SpA] => 0
[NumStops] => 0
[Confirm] => 0
[SpB] => 0
[LapsDone] => 0
[Flags] => 9793
[ResultNum] => 0
[NumRes] => 1
[PSeconds] => 0
)
Array
(
[Size] => 28
[Type] => 5
[ReqI] => 0
[Zero] => 0
[ReplaySpeed] => 1
[Flags] => 19586
[InGameCam] => 2
[ViewPLID] => 2
[NumP] => 1
[NumConns] => 1
[NumFinished] => 1
[RaceInProg] => 1
[QualMins] => 0
[RaceLaps] => 1
[Spare2] => 0
[Spare3] => 0
[Track] => AU1
[Weather] => 0
[Wind] => 0
)
Array
(
[Size] => 4
[Type] => 3
[ReqI] => 0
[SubT] => 0
)
Array
(
[Size] => 4
[Type] => 3
[ReqI] => 0
[SubT] => 11
)
Array
(
[Size] => 28
[Type] => 5
[ReqI] => 0
[Zero] => 0
[ReplaySpeed] => 1
[Flags] => 19840
[InGameCam] => 2
[ViewPLID] => 0
[NumP] => 0
[NumConns] => 1
[NumFinished] => 0
[RaceInProg] => 0
[QualMins] => 0
[RaceLaps] => 1
[Spare2] => 0
[Spare3] => 0
[Track] => AU1
[Weather] => 0
[Wind] => 0
)
@echo off
php main.php > output.txt