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

◆ OnRailEvent()

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

Definition at line 337 of file NetClientSocialModule.cs.

338 {
339 //IL_0038: Unknown result type (might be due to invalid IL or missing references)
340 //IL_003e: Invalid comparison between Unknown and I4
341 //IL_0059: Unknown result type (might be due to invalid IL or missing references)
342 //IL_005f: Invalid comparison between Unknown and I4
343 //IL_0040: Unknown result type (might be due to invalid IL or missing references)
344 //IL_0046: Invalid comparison between Unknown and I4
345 //IL_0072: Unknown result type (might be due to invalid IL or missing references)
346 //IL_0078: Invalid comparison between Unknown and I4
347 //IL_0061: Unknown result type (might be due to invalid IL or missing references)
348 //IL_0067: Invalid comparison between Unknown and I4
349 //IL_00b9: Unknown result type (might be due to invalid IL or missing references)
350 //IL_00c3: Expected O, but got Unknown
351 //IL_0048: Unknown result type (might be due to invalid IL or missing references)
352 //IL_004e: Invalid comparison between Unknown and I4
353 //IL_0085: Unknown result type (might be due to invalid IL or missing references)
354 //IL_008f: Expected O, but got Unknown
355 //IL_007a: Unknown result type (might be due to invalid IL or missing references)
356 //IL_0080: Invalid comparison between Unknown and I4
357 //IL_00c6: Unknown result type (might be due to invalid IL or missing references)
358 //IL_00d0: Expected O, but got Unknown
359 //IL_0069: Unknown result type (might be due to invalid IL or missing references)
360 //IL_006f: Invalid comparison between Unknown and I4
361 //IL_00ac: Unknown result type (might be due to invalid IL or missing references)
362 //IL_00b6: Expected O, but got Unknown
363 //IL_0050: Unknown result type (might be due to invalid IL or missing references)
364 //IL_0056: Invalid comparison between Unknown and I4
365 //IL_0092: Unknown result type (might be due to invalid IL or missing references)
366 //IL_009c: Expected O, but got Unknown
367 //IL_009f: Unknown result type (might be due to invalid IL or missing references)
368 //IL_00a9: Expected O, but got Unknown
369 //IL_00d3: Unknown result type (might be due to invalid IL or missing references)
370 //IL_00dd: Expected O, but got Unknown
371 WeGameHelper.WriteDebugString("OnRailEvent,id=" + ((object)(RAILEventID)(ref id)).ToString() + " ,result=" + ((object)(RailResult)(ref data.result)).ToString());
372 if ((int)id <= 12010)
373 {
374 if ((int)id != 12002)
375 {
376 if ((int)id != 12003)
377 {
378 if ((int)id == 12010)
379 {
381 }
382 }
383 else
384 {
386 }
387 }
388 else
389 {
391 }
392 }
393 else if ((int)id <= 13503)
394 {
395 if ((int)id != 13501)
396 {
397 if ((int)id == 13503)
398 {
400 }
401 }
402 else
403 {
405 }
406 }
407 else if ((int)id != 16001)
408 {
409 if ((int)id == 16002)
410 {
412 }
413 }
414 else
415 {
417 }
418 }
void OnGetFriendMetaData(RailFriendsGetMetadataResult data)
void OnRailCreateSessionFailed(CreateSessionFailed result)
void OnRailCreateSessionRequest(CreateSessionRequest result)
void OnFriendlistChange(RailFriendsListChanged data)
void OnRailRespondInvation(RailUsersRespondInvitation data)
void OnRailSetMetaData(RailFriendsSetMetadataResult data)

References Terraria.Social.WeGame.NetClientSocialModule.OnFriendlistChange(), Terraria.Social.WeGame.NetClientSocialModule.OnGetFriendMetaData(), Terraria.Social.WeGame.NetClientSocialModule.OnRailCreateSessionFailed(), Terraria.Social.WeGame.NetClientSocialModule.OnRailCreateSessionRequest(), Terraria.Social.WeGame.NetClientSocialModule.OnRailGetUsersInfo(), Terraria.Social.WeGame.NetClientSocialModule.OnRailRespondInvation(), Terraria.Social.WeGame.NetClientSocialModule.OnRailSetMetaData(), System.ToString, and Terraria.Social.WeGame.WeGameHelper.WriteDebugString().

Referenced by Terraria.Social.WeGame.NetClientSocialModule.RegisterRailEvent().