Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ OnRailEvent()

void Terraria.Social.WeGame.Lobby.OnRailEvent ( RAILEventID id,
EventBase data )
inline

Definition at line 51 of file Lobby.cs.

52 {
53 //IL_0038: Unknown result type (might be due to invalid IL or missing references)
54 //IL_003e: Invalid comparison between Unknown and I4
55 //IL_0042: Unknown result type (might be due to invalid IL or missing references)
56 //IL_004c: Expected O, but got Unknown
57 WeGameHelper.WriteDebugString("OnRailEvent,id=" + ((object)(RAILEventID)(ref id)).ToString() + " ,result=" + ((object)(RailResult)(ref data.result)).ToString());
58 if ((int)id == 3002)
59 {
60 OnGameServerCreated((CreateGameServerResult)data);
61 }
62 }
void OnGameServerCreated(CreateGameServerResult result)
Definition Lobby.cs:64

References Terraria.Social.WeGame.Lobby.OnGameServerCreated(), System.ToString, and Terraria.Social.WeGame.WeGameHelper.WriteDebugString().

Referenced by Terraria.Social.WeGame.Lobby.RegisterGameServerEvent().