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

◆ IsWeGameFriend()

bool Terraria.Social.WeGame.NetServerSocialModule.IsWeGameFriend ( RailID id)
inlineprivate

Definition at line 173 of file NetServerSocialModule.cs.

174 {
175 bool result = false;
176 if (_wegameFriendList != null)
177 {
179 {
180 if ((RailComparableID)(object)wegameFriend.friend_rail_id == (RailComparableID)(object)id)
181 {
182 result = true;
183 break;
184 }
185 }
186 }
187 return result;
188 }

References Terraria.Social.WeGame.NetServerSocialModule._wegameFriendList.

Referenced by Terraria.Social.WeGame.NetServerSocialModule.OnCreateSessionRequest().