Definition at line 156 of file NetServerSocialModule.cs.
157 {
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
178 {
180 result.m_steamIDRemote =
userId;
183 {
184 return false;
185 }
186 }
189 {
191 {
192 return false;
193 }
194 if (((data[1] << 8) | data[0]) !=
length)
195 {
196 return false;
197 }
198 if (data[2] != 93)
199 {
200 return false;
201 }
202 byte[]
array =
new byte[data.Length - 3];
205 switch ((int)val)
206 {
207 case 0:
210 break;
211 case 2:
213 break;
214 case 5:
216 break;
217 case 4:
219 break;
220 case 1:
222 break;
223 case 3:
225 break;
226 }
227 return false;
228 }
230 }
static unsafe void Copy(Array sourceArray, Array destinationArray, int length)
bool ContainsKey(TKey key)
void BroadcastConnectedUsers()
override void Close(RemoteAddress address)
void OnP2PSessionRequest(P2PSessionRequest_t result)
ConcurrentDictionary< CSteamID, ConnectionState > _connectionStateMap
References Terraria.Social.Steam.NetSocialModule._connectionStateMap, System.array, Terraria.Social.Steam.NetServerSocialModule.BroadcastConnectedUsers(), Terraria.Social.Steam.NetServerSocialModule.Close(), System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.ContainsKey(), System.Array.Copy(), System.length, and Terraria.Social.Steam.NetServerSocialModule.OnP2PSessionRequest().
Referenced by Terraria.Social.Steam.NetServerSocialModule.Initialize().