File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,12 +94,6 @@ class Game_Multiplayer {
9494 std::array<int , 5 > last_flash_frame_flash;
9595 std::map<int , std::array<int , 5 >> repeating_flashes;
9696
97- int cu_randint;
98- int cu_time_days;
99- int cu_time_hours;
100- int cu_temperature;
101- int cu_precipitation;
102-
10397 void SpawnOtherPlayer (int id);
10498 void ResetRepeatingFlash ();
10599 void InitConnection ();
Original file line number Diff line number Diff line change @@ -380,24 +380,6 @@ namespace S2C {
380380 public:
381381 BadgeUpdatePacket (const PL & v) {}
382382 };
383-
384- class CUTimePacket : public S2CPacket {
385- public:
386- CUTimePacket (const PL & v)
387- : time(stoi((std::string) v.at(0 ))),
388- randint (stoi((std::string) v.at(1 ))) {}
389- int time;
390- int randint;
391- };
392-
393- class CUWeatherPacket : public S2CPacket {
394- public:
395- CUWeatherPacket (const PL & v)
396- : temperature(stoi((std::string) v.at(0 ))),
397- precipitation (stoi((std::string) v.at(1 ))) {}
398- int temperature;
399- int precipitation;
400- };
401383}
402384namespace C2S {
403385 using C2SPacket = Multiplayer::C2SPacket;
You can’t perform that action at this time.
0 commit comments