-
Notifications
You must be signed in to change notification settings - Fork 2
/
Lidgren.Network.XML
2447 lines (2437 loc) · 104 KB
/
Lidgren.Network.XML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<doc>
<assembly>
<name>Lidgren.Network</name>
</assembly>
<members>
<member name="T:Lidgren.Network.NetPeer">
<summary>
Represents a local peer capable of holding zero, one or more connections to remote peers
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.SendMessage(Lidgren.Network.NetOutgoingMessage,Lidgren.Network.NetConnection,Lidgren.Network.NetDeliveryMethod)">
<summary>
Send a message to a specific connection
</summary>
<param name="msg">The message to send</param>
<param name="recipient">The recipient connection</param>
<param name="method">How to deliver the message</param>
</member>
<member name="M:Lidgren.Network.NetPeer.SendMessage(Lidgren.Network.NetOutgoingMessage,Lidgren.Network.NetConnection,Lidgren.Network.NetDeliveryMethod,System.Int32)">
<summary>
Send a message to a specific connection
</summary>
<param name="msg">The message to send</param>
<param name="recipient">The recipient connection</param>
<param name="method">How to deliver the message</param>
<param name="sequenceChannel">Sequence channel within the delivery method</param>
</member>
<member name="M:Lidgren.Network.NetPeer.SendMessage(Lidgren.Network.NetOutgoingMessage,System.Collections.Generic.List{Lidgren.Network.NetConnection},Lidgren.Network.NetDeliveryMethod,System.Int32)">
<summary>
Send a message to a list of connections
</summary>
<param name="msg">The message to send</param>
<param name="recipients">The list of recipients to send to</param>
<param name="method">How to deliver the message</param>
<param name="sequenceChannel">Sequence channel within the delivery method</param>
</member>
<member name="M:Lidgren.Network.NetPeer.SendUnconnectedMessage(Lidgren.Network.NetOutgoingMessage,System.String,System.Int32)">
<summary>
Send a message to an unconnected host
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.SendUnconnectedMessage(Lidgren.Network.NetOutgoingMessage,System.Net.IPEndPoint)">
<summary>
Send a message to an unconnected host
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.SendUnconnectedMessage(Lidgren.Network.NetOutgoingMessage,System.Collections.Generic.IList{System.Net.IPEndPoint})">
<summary>
Send a message to an unconnected host
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.SendUnconnectedToSelf(Lidgren.Network.NetOutgoingMessage)">
<summary>
Send a message to this exact same netpeer (loopback)
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Introduce(System.Net.IPEndPoint,System.Net.IPEndPoint,System.Net.IPEndPoint,System.Net.IPEndPoint,System.String)">
<summary>
Send NetIntroduction to hostExternal and clientExternal; introducing client to host
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.HandleNatIntroduction(System.Int32)">
<summary>
Called when host/client receives a NatIntroduction message from a master server
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.HandleNatPunch(System.Int32,System.Net.IPEndPoint)">
<summary>
Called when receiving a NatPunchMessage from a remote endpoint
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.CreateMessage">
<summary>
Creates a new message for sending
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.CreateMessage(System.String)">
<summary>
Creates a new message for sending and writes the provided string to it
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.CreateMessage(System.Int32)">
<summary>
Creates a new message for sending
</summary>
<param name="initialCapacity">initial capacity in bytes</param>
</member>
<member name="M:Lidgren.Network.NetPeer.Recycle(Lidgren.Network.NetIncomingMessage)">
<summary>
Recycles a NetIncomingMessage instance for reuse; taking pressure off the garbage collector
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Recycle(System.Collections.Generic.IEnumerable{Lidgren.Network.NetIncomingMessage})">
<summary>
Recycles a list of NetIncomingMessage instances for reuse; taking pressure off the garbage collector
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.CreateIncomingMessage(Lidgren.Network.NetIncomingMessageType,System.String)">
<summary>
Creates an incoming message with the required capacity for releasing to the application
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.DiscoverLocalPeers(System.Int32)">
<summary>
Emit a discovery signal to all hosts on your subnet
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.DiscoverKnownPeer(System.String,System.Int32)">
<summary>
Emit a discovery signal to a single known host
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.DiscoverKnownPeer(System.Net.IPEndPoint)">
<summary>
Emit a discovery signal to a single known host
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.SendDiscoveryResponse(Lidgren.Network.NetOutgoingMessage,System.Net.IPEndPoint)">
<summary>
Send a discovery response message
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.RegisterReceivedCallback(System.Threading.SendOrPostCallback)">
<summary>
Call this to register a callback for when a new message arrives
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.UnregisterReceivedCallback(System.Threading.SendOrPostCallback)">
<summary>
Call this to unregister a callback, but remember to do it in the same synchronization context!
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.FlushSendQueue">
<summary>
If NetPeerConfiguration.AutoFlushSendQueue() is false; you need to call this to send all messages queued using SendMessage()
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.#ctor(Lidgren.Network.NetPeerConfiguration)">
<summary>
NetPeer constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Start">
<summary>
Binds to socket and spawns the networking thread
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.GetConnection(System.Net.IPEndPoint)">
<summary>
Get the connection, if any, for a certain remote endpoint
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.WaitMessage(System.Int32)">
<summary>
Read a pending message from any connection, blocking up to maxMillis if needed
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.ReadMessage">
<summary>
Read a pending message from any connection, if any
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.ReadMessages(System.Collections.Generic.IList{Lidgren.Network.NetIncomingMessage})">
<summary>
Read a pending message from any connection, if any
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Connect(System.String,System.Int32)">
<summary>
Create a connection to a remote endpoint
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Connect(System.String,System.Int32,Lidgren.Network.NetOutgoingMessage)">
<summary>
Create a connection to a remote endpoint
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Connect(System.Net.IPEndPoint)">
<summary>
Create a connection to a remote endpoint
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Connect(System.Net.IPEndPoint,Lidgren.Network.NetOutgoingMessage)">
<summary>
Create a connection to a remote endpoint
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.RawSend(System.Byte[],System.Int32,System.Int32,System.Net.IPEndPoint)">
<summary>
Send raw bytes; only used for debugging
</summary>
</member>
<member name="M:Lidgren.Network.NetPeer.Shutdown(System.String)">
<summary>
Disconnects all active connections and closes the socket
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Socket">
<summary>
Gets the socket, if Start() has been called
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Status">
<summary>
Gets the NetPeerStatus of the NetPeer
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.MessageReceivedEvent">
<summary>
Signalling event which can be waited on to determine when a message is queued for reading.
Note that there is no guarantee that after the event is signaled the blocked thread will
find the message in the queue. Other user created threads could be preempted and dequeue
the message before the waiting thread wakes up.
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.UniqueIdentifier">
<summary>
Gets a unique identifier for this NetPeer based on Mac address and ip/port. Note! Not available until Start() has been called!
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Port">
<summary>
Gets the port number this NetPeer is listening and sending on, if Start() has been called
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.UPnP">
<summary>
Returns an UPnP object if enabled in the NetPeerConfiguration
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Tag">
<summary>
Gets or sets the application defined object containing data about the peer
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Connections">
<summary>
Gets a copy of the list of connections
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.ConnectionsCount">
<summary>
Gets the number of active connections
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Statistics">
<summary>
Statistics on this NetPeer since it was initialized
</summary>
</member>
<member name="P:Lidgren.Network.NetPeer.Configuration">
<summary>
Gets the configuration used to instanciate this NetPeer
</summary>
</member>
<member name="T:Lidgren.Network.NetDeliveryMethod">
<summary>
How the library deals with resends and handling of late messages
</summary>
</member>
<member name="F:Lidgren.Network.NetDeliveryMethod.Unknown">
<summary>
Indicates an error
</summary>
</member>
<member name="F:Lidgren.Network.NetDeliveryMethod.Unreliable">
<summary>
Unreliable, unordered delivery
</summary>
</member>
<member name="F:Lidgren.Network.NetDeliveryMethod.UnreliableSequenced">
<summary>
Unreliable delivery, but automatically dropping late messages
</summary>
</member>
<member name="F:Lidgren.Network.NetDeliveryMethod.ReliableUnordered">
<summary>
Reliable delivery, but unordered
</summary>
</member>
<member name="F:Lidgren.Network.NetDeliveryMethod.ReliableSequenced">
<summary>
Reliable delivery, except for late messages which are dropped
</summary>
</member>
<member name="F:Lidgren.Network.NetDeliveryMethod.ReliableOrdered">
<summary>
Reliable, ordered delivery
</summary>
</member>
<member name="T:Lidgren.Network.NetXorEncryption">
<summary>
Example class; not very good encryption
</summary>
</member>
<member name="T:Lidgren.Network.INetEncryption">
<summary>
Interface for an encryption algorithm
</summary>
</member>
<member name="M:Lidgren.Network.INetEncryption.Encrypt(Lidgren.Network.NetOutgoingMessage)">
<summary>
Encrypt an outgoing message in place
</summary>
</member>
<member name="M:Lidgren.Network.INetEncryption.Decrypt(Lidgren.Network.NetIncomingMessage)">
<summary>
Decrypt an incoming message in place
</summary>
</member>
<member name="M:Lidgren.Network.NetXorEncryption.#ctor(System.Byte[])">
<summary>
NetXorEncryption constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetXorEncryption.#ctor(System.String)">
<summary>
NetXorEncryption constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetXorEncryption.Encrypt(Lidgren.Network.NetOutgoingMessage)">
<summary>
Encrypt an outgoing message
</summary>
</member>
<member name="M:Lidgren.Network.NetXorEncryption.Decrypt(Lidgren.Network.NetIncomingMessage)">
<summary>
Decrypt an incoming message
</summary>
</member>
<member name="T:Lidgren.Network.NetServer">
<summary>
Specialized version of NetPeer used for "server" peers
</summary>
</member>
<member name="M:Lidgren.Network.NetServer.#ctor(Lidgren.Network.NetPeerConfiguration)">
<summary>
NetServer constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetServer.SendToAll(Lidgren.Network.NetOutgoingMessage,Lidgren.Network.NetDeliveryMethod)">
<summary>
Send a message to all connections
</summary>
<param name="msg">The message to send</param>
<param name="method">How to deliver the message</param>
</member>
<member name="M:Lidgren.Network.NetServer.SendToAll(Lidgren.Network.NetOutgoingMessage,Lidgren.Network.NetConnection,Lidgren.Network.NetDeliveryMethod,System.Int32)">
<summary>
Send a message to all connections except one
</summary>
<param name="msg">The message to send</param>
<param name="method">How to deliver the message</param>
<param name="except">Don't send to this particular connection</param>
<param name="sequenceChannel">Which sequence channel to use for the message</param>
</member>
<member name="M:Lidgren.Network.NetServer.ToString">
<summary>
Returns a string that represents this object
</summary>
</member>
<member name="T:Lidgren.Network.NetBigInteger">
<summary>
Big integer class based on BouncyCastle (http://www.bouncycastle.org) big integer code
</summary>
</member>
<member name="T:Lidgren.Network.NamespaceDoc">
<summary>
Lidgren Network Library
</summary>
</member>
<member name="T:Lidgren.Network.NetTime">
<summary>
Time service
</summary>
</member>
<member name="M:Lidgren.Network.NetTime.ToReadable(System.Double)">
<summary>
Given seconds it will output a human friendly readable string (milliseconds if less than 60 seconds)
</summary>
</member>
<member name="P:Lidgren.Network.NetTime.Now">
<summary>
Get number of seconds since the application started
</summary>
</member>
<member name="T:Lidgren.Network.NetConnectionStatistics">
<summary>
Statistics for a NetConnection instance
</summary>
</member>
<member name="M:Lidgren.Network.NetConnectionStatistics.ToString">
<summary>
Returns a string that represents this object
</summary>
</member>
<member name="P:Lidgren.Network.NetConnectionStatistics.SentPackets">
<summary>
Gets the number of sent packets for this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnectionStatistics.ReceivedPackets">
<summary>
Gets the number of received packets for this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnectionStatistics.SentBytes">
<summary>
Gets the number of sent bytes for this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnectionStatistics.ReceivedBytes">
<summary>
Gets the number of received bytes for this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnectionStatistics.ResentMessages">
<summary>
Gets the number of resent reliable messages for this connection
</summary>
</member>
<member name="T:Lidgren.Network.UPnPStatus">
<summary>
Status of the UPnP capabilities
</summary>
</member>
<member name="F:Lidgren.Network.UPnPStatus.Discovering">
<summary>
Still discovering UPnP capabilities
</summary>
</member>
<member name="F:Lidgren.Network.UPnPStatus.NotAvailable">
<summary>
UPnP is not available
</summary>
</member>
<member name="F:Lidgren.Network.UPnPStatus.Available">
<summary>
UPnP is available and ready to use
</summary>
</member>
<member name="T:Lidgren.Network.NetUPnP">
<summary>
UPnP support class
</summary>
</member>
<member name="M:Lidgren.Network.NetUPnP.#ctor(Lidgren.Network.NetPeer)">
<summary>
NetUPnP constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetUPnP.ForwardPort(System.Int32,System.String)">
<summary>
Add a forwarding rule to the router using UPnP
</summary>
</member>
<member name="M:Lidgren.Network.NetUPnP.DeleteForwardingRule(System.Int32)">
<summary>
Delete a forwarding rule from the router using UPnP
</summary>
</member>
<member name="M:Lidgren.Network.NetUPnP.GetExternalIP">
<summary>
Retrieve the extern ip using UPnP
</summary>
</member>
<member name="P:Lidgren.Network.NetUPnP.Status">
<summary>
Status of the UPnP capabilities of this NetPeer
</summary>
</member>
<member name="T:Lidgren.Network.NetUnreliableSenderChannel">
<summary>
Sender part of Selective repeat ARQ for a particular NetChannel
</summary>
</member>
<member name="T:Lidgren.Network.NetSRP">
<summary>
Helper methods for implementing SRP authentication
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeMultiplier">
<summary>
Compute multiplier (k)
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.CreateRandomSalt">
<summary>
Create 16 bytes of random salt
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.CreateRandomEphemeral">
<summary>
Create 32 bytes of random ephemeral value
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputePrivateKey(System.String,System.String,System.Byte[])">
<summary>
Computer private key (x)
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeServerVerifier(System.Byte[])">
<summary>
Creates a verifier that the server can later use to authenticate users later on (v)
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.Hash(System.Byte[])">
<summary>
SHA hash data
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeClientEphemeral(System.Byte[])">
<summary>
Compute client public ephemeral value (A)
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeServerEphemeral(System.Byte[],System.Byte[])">
<summary>
Compute server ephemeral value (B)
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeU(System.Byte[],System.Byte[])">
<summary>
Compute intermediate value (u)
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeServerSessionValue(System.Byte[],System.Byte[],System.Byte[],System.Byte[])">
<summary>
Computes the server session value
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.ComputeClientSessionValue(System.Byte[],System.Byte[],System.Byte[],System.Byte[])">
<summary>
Computes the client session value
</summary>
</member>
<member name="M:Lidgren.Network.NetSRP.CreateEncryption(System.Byte[])">
<summary>
Create XTEA symmetrical encryption object from sessionValue
</summary>
</member>
<member name="T:Lidgren.Network.NetConnection">
<summary>
Represents a connection to a remote peer
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.Approve">
<summary>
Approves this connection; sending a connection response to the remote host
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.Approve(Lidgren.Network.NetOutgoingMessage)">
<summary>
Approves this connection; sending a connection response to the remote host
</summary>
<param name="localHail">The local hail message that will be set as RemoteHailMessage on the remote host</param>
</member>
<member name="M:Lidgren.Network.NetConnection.Deny">
<summary>
Denies this connection; disconnecting it
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.Deny(System.String)">
<summary>
Denies this connection; disconnecting it
</summary>
<param name="reason">The stated reason for the disconnect, readable as a string in the StatusChanged message on the remote host</param>
</member>
<member name="M:Lidgren.Network.NetConnection.Disconnect(System.String)">
<summary>
Disconnect from the remote peer
</summary>
<param name="byeMessage">the message to send with the disconnect message</param>
</member>
<member name="M:Lidgren.Network.NetConnection.GetLocalTime(System.Double)">
<summary>
Gets local time value comparable to NetTime.Now from a remote value
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.GetRemoteTime(System.Double)">
<summary>
Gets the remote time value for a local time value produced by NetTime.Now
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.MutateEndPoint(System.Net.IPEndPoint)">
<summary>
Change the internal endpoint to this new one. Used when, during handshake, a switch in port is detected (due to NAT)
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.SendMessage(Lidgren.Network.NetOutgoingMessage,Lidgren.Network.NetDeliveryMethod,System.Int32)">
<summary>
Send a message to this remote connection
</summary>
<param name="msg">The message to send</param>
<param name="method">How to deliver the message</param>
<param name="sequenceChannel">Sequence channel within the delivery method</param>
</member>
<member name="M:Lidgren.Network.NetConnection.GetSendQueueInfo(Lidgren.Network.NetDeliveryMethod,System.Int32,System.Int32@,System.Int32@)">
<summary>
Zero windowSize indicates that the channel is not yet instantiated (used)
Negative freeWindowSlots means this amount of messages are currently queued but delayed due to closed window
</summary>
</member>
<member name="M:Lidgren.Network.NetConnection.ToString">
<summary>
Returns a string that represents this object
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.RemoteHailMessage">
<summary>
The message that the remote part specified via Connect() or Approve() - can be null.
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.AverageRoundtripTime">
<summary>
Gets the current average roundtrip time in seconds
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.RemoteTimeOffset">
<summary>
Time offset between this peer and the remote peer
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.Tag">
<summary>
Gets or sets the application defined object containing data about the connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.Peer">
<summary>
Gets the peer which holds this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.Status">
<summary>
Gets the current status of the connection (synced to the last status message read)
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.Statistics">
<summary>
Gets various statistics for this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.RemoteEndPoint">
<summary>
Gets the remote endpoint for the connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.RemoteUniqueIdentifier">
<summary>
Gets the unique identifier of the remote NetPeer for this connection
</summary>
</member>
<member name="P:Lidgren.Network.NetConnection.LocalHailMessage">
<summary>
Gets the local hail message that was sent as part of the handshake
</summary>
</member>
<member name="T:Lidgren.Network.NetQueue`1">
<summary>
Thread safe (blocking) expanding queue with TryDequeue() and EnqueueFirst()
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.#ctor(System.Int32)">
<summary>
NetQueue constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.Enqueue(`0)">
<summary>
Adds an item last/tail of the queue
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.Enqueue(System.Collections.Generic.IEnumerable{`0})">
<summary>
Adds an item last/tail of the queue
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.EnqueueFirst(`0)">
<summary>
Places an item first, at the head of the queue
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.TryDequeue(`0@)">
<summary>
Gets an item from the head of the queue, or returns default(T) if empty
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.TryDrain(System.Collections.Generic.IList{`0})">
<summary>
Gets an item from the head of the queue, or returns default(T) if empty
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.TryPeek(System.Int32)">
<summary>
Returns default(T) if queue is empty
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.Contains(`0)">
<summary>
Determines whether an item is in the queue
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.ToArray">
<summary>
Copies the queue items to a new array
</summary>
</member>
<member name="M:Lidgren.Network.NetQueue`1.Clear">
<summary>
Removes all objects from the queue
</summary>
</member>
<member name="P:Lidgren.Network.NetQueue`1.Count">
<summary>
Gets the number of items in the queue
</summary>
</member>
<member name="P:Lidgren.Network.NetQueue`1.Capacity">
<summary>
Gets the current capacity for the queue
</summary>
</member>
<member name="T:Lidgren.Network.NetBlockEncryptionBase">
<summary>
Base for a non-threadsafe encryption class
</summary>
</member>
<member name="M:Lidgren.Network.NetBlockEncryptionBase.#ctor">
<summary>
NetBlockEncryptionBase constructor
</summary>
</member>
<member name="M:Lidgren.Network.NetBlockEncryptionBase.Encrypt(Lidgren.Network.NetOutgoingMessage)">
<summary>
Encrypt am outgoing message with this algorithm; no writing can be done to the message after encryption, or message will be corrupted
</summary>
</member>
<member name="M:Lidgren.Network.NetBlockEncryptionBase.Decrypt(Lidgren.Network.NetIncomingMessage)">
<summary>
Decrypt an incoming message encrypted with corresponding Encrypt
</summary>
<param name="msg">message to decrypt</param>
<returns>true if successful; false if failed</returns>
</member>
<member name="M:Lidgren.Network.NetBlockEncryptionBase.EncryptBlock(System.Byte[],System.Int32,System.Byte[])">
<summary>
Encrypt a block of bytes
</summary>
</member>
<member name="M:Lidgren.Network.NetBlockEncryptionBase.DecryptBlock(System.Byte[],System.Int32,System.Byte[])">
<summary>
Decrypt a block of bytes
</summary>
</member>
<member name="P:Lidgren.Network.NetBlockEncryptionBase.BlockSize">
<summary>
Block size in bytes for this cipher
</summary>
</member>
<member name="T:Lidgren.Network.NetBuffer">
<summary>
Base class for NetIncomingMessage and NetOutgoingMessage
</summary>
</member>
<member name="F:Lidgren.Network.NetBuffer.c_overAllocateAmount">
<summary>
Number of bytes to overallocate for each message to avoid resizing
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.ReadAllFields(System.Object)">
<summary>
Reads all public and private declared instance fields of the object in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.ReadAllFields(System.Object,System.Reflection.BindingFlags)">
<summary>
Reads all fields with the specified binding of the object in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.ReadAllProperties(System.Object)">
<summary>
Reads all public and private declared instance fields of the object in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.ReadAllProperties(System.Object,System.Reflection.BindingFlags)">
<summary>
Reads all fields with the specified binding of the object in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekDataBuffer">
<summary>
Gets the internal data buffer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekBoolean">
<summary>
Reads a 1-bit Boolean without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekByte">
<summary>
Reads a Byte without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekSByte">
<summary>
Reads an SByte without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekByte(System.Int32)">
<summary>
Reads the specified number of bits into a Byte without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekBytes(System.Int32)">
<summary>
Reads the specified number of bytes without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekBytes(System.Byte[],System.Int32,System.Int32)">
<summary>
Reads the specified number of bytes without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekInt16">
<summary>
Reads an Int16 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekUInt16">
<summary>
Reads a UInt16 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekInt32">
<summary>
Reads an Int32 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekInt32(System.Int32)">
<summary>
Reads the specified number of bits into an Int32 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekUInt32">
<summary>
Reads a UInt32 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekUInt32(System.Int32)">
<summary>
Reads the specified number of bits into a UInt32 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekUInt64">
<summary>
Reads a UInt64 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekInt64">
<summary>
Reads an Int64 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekUInt64(System.Int32)">
<summary>
Reads the specified number of bits into an UInt64 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekInt64(System.Int32)">
<summary>
Reads the specified number of bits into an Int64 without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekFloat">
<summary>
Reads a 32-bit Single without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekSingle">
<summary>
Reads a 32-bit Single without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekDouble">
<summary>
Reads a 64-bit Double without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.PeekString">
<summary>
Reads a string without advancing the read pointer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.WriteAllFields(System.Object)">
<summary>
Writes all public and private declared instance fields of the object in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.WriteAllFields(System.Object,System.Reflection.BindingFlags)">
<summary>
Writes all fields with specified binding in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.WriteAllProperties(System.Object)">
<summary>
Writes all public and private declared instance properties of the object in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.WriteAllProperties(System.Object,System.Reflection.BindingFlags)">
<summary>
Writes all properties with specified binding in alphabetical order using reflection
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.EnsureBufferSize(System.Int32)">
<summary>
Ensures the buffer can hold this number of bits
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.InternalEnsureBufferSize(System.Int32)">
<summary>
Ensures the buffer can hold this number of bits
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Boolean)">
<summary>
Writes a boolean value using 1 bit
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Byte)">
<summary>
Write a byte
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.SByte)">
<summary>
Writes a signed byte
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Byte,System.Int32)">
<summary>
Writes 1 to 8 bits of a byte
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Byte[])">
<summary>
Writes all bytes in an array
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Byte[],System.Int32,System.Int32)">
<summary>
Writes the specified number of bytes from an array
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.UInt16)">
<summary>
Writes an unsigned 16 bit integer
</summary>
<param name="source"></param>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.UInt16,System.Int32)">
<summary>
Writes an unsigned integer using 1 to 16 bits
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Int16)">
<summary>
Writes a signed 16 bit integer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Int32)">
<summary>
Writes a 32 bit signed integer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.UInt32)">
<summary>
Writes a 32 bit unsigned integer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.UInt32,System.Int32)">
<summary>
Writes a 32 bit signed integer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.Int32,System.Int32)">
<summary>
Writes a signed integer using 1 to 32 bits
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.UInt64)">
<summary>
Writes a 64 bit unsigned integer
</summary>
</member>
<member name="M:Lidgren.Network.NetBuffer.Write(System.UInt64,System.Int32)">
<summary>
Writes an unsigned integer using 1 to 64 bits