C# 클래스 EzGame.MultiPlayer

파일 보기 프로젝트 열기: CodeTreeCommunity/Shooter2D 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Peers NetPeer>.Dictionary

공개 메소드들

메소드 설명
Connect ( string Name, string Host, int Port ) : NetPeer
Connect ( string Name, string Host, int Port, Lidgren.Network.NetPeerConfiguration Configuration ) : NetPeer
Construct ( ) : NetOutgoingMessage

Construct an outbound message without any built variables.

Construct ( Enum Packet ) : NetOutgoingMessage

Construct an outbound message with the following packet (byte).

Construct ( string Name ) : NetOutgoingMessage

Construct an outbound message without any built variables.

Construct ( string Name, Enum Packet ) : NetOutgoingMessage

Construct an outbound message with the following packet (byte).

Flush ( string Name ) : void
Initialize ( ) : void
IsNullOrServer ( ) : bool
IsNullOrServer ( string Name ) : bool
Peer ( ) : NetPeer
Peer ( string Name ) : NetPeer
Read ( string Name ) : NetIncomingMessage
ReadBoundingSphere ( this Message ) : BoundingSphere
ReadLine ( this Message ) : Line
ReadMatrix ( this Message ) : Matrix
ReadPoint ( this Message ) : Point
ReadPolygon ( this Message ) : Polygon
ReadQuaternion ( this Message, int Bits ) : Microsoft.Xna.Framework.Quaternion
ReadRectangle ( this Message ) : Rectangle
ReadVector2 ( this Message ) : Vector2
ReadVector3 ( this Message ) : Vector3
ReadVector4 ( this Message ) : Vector4
Send ( NetOutgoingMessage Message, NetConnection Except, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Send ( NetOutgoingMessage Message, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Send ( string Name, NetOutgoingMessage Message, NetConnection Except, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Send ( string Name, NetOutgoingMessage Message, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
SendTo ( NetOutgoingMessage Message, NetConnection To, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
SendTo ( string Name, NetOutgoingMessage Message, NetConnection To, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Shutdown ( string Name, string Reason ) : void
Start ( string Name, Lidgren.Network.NetPeerConfiguration Configuration ) : NetPeer

Start a server on a peer.

Start ( string Name, int Port, int MaximumConnections ) : NetPeer

Start a server on a peer.

Type ( ) : Types?
Type ( string Name ) : Types?
Write ( this Message, BoundingSphere BoundingSphere ) : void
Write ( this Message, Line Variable ) : void
Write ( this Message, Matrix Variable ) : void
Write ( this Message, Point Variable ) : void
Write ( this Message, Polygon Variable ) : void
Write ( this Message, Microsoft.Xna.Framework.Quaternion Quaternion, int Bits ) : void
Write ( this Message, Rectangle Variable ) : void
Write ( this Message, Vector2 Variable ) : void
Write ( this Message, Vector3 Variable ) : void
Write ( this Message, Vector4 Variable ) : void
Write ( this Message, object Variable ) : void

메소드 상세

Connect() 공개 정적인 메소드

public static Connect ( string Name, string Host, int Port ) : NetPeer
Name string
Host string
Port int
리턴 Lidgren.Network.NetPeer

Connect() 공개 정적인 메소드

public static Connect ( string Name, string Host, int Port, Lidgren.Network.NetPeerConfiguration Configuration ) : NetPeer
Name string
Host string
Port int
Configuration Lidgren.Network.NetPeerConfiguration
리턴 Lidgren.Network.NetPeer

Construct() 공개 정적인 메소드

Construct an outbound message without any built variables.
public static Construct ( ) : NetOutgoingMessage
리턴 Lidgren.Network.NetOutgoingMessage

Construct() 공개 정적인 메소드

Construct an outbound message with the following packet (byte).
public static Construct ( Enum Packet ) : NetOutgoingMessage
Packet System.Enum The packet to send at the start of the message (will be converted to a byte).
리턴 Lidgren.Network.NetOutgoingMessage

Construct() 공개 정적인 메소드

Construct an outbound message without any built variables.
public static Construct ( string Name ) : NetOutgoingMessage
Name string The name of the peer to construct the message from.
리턴 Lidgren.Network.NetOutgoingMessage

Construct() 공개 정적인 메소드

Construct an outbound message with the following packet (byte).
public static Construct ( string Name, Enum Packet ) : NetOutgoingMessage
Name string The name of the peer to construct the message from.
Packet System.Enum The packet to send at the start of the message (will be converted to a byte).
리턴 Lidgren.Network.NetOutgoingMessage

Flush() 공개 정적인 메소드

public static Flush ( string Name ) : void
Name string
리턴 void

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

IsNullOrServer() 공개 정적인 메소드

public static IsNullOrServer ( ) : bool
리턴 bool

IsNullOrServer() 공개 정적인 메소드

public static IsNullOrServer ( string Name ) : bool
Name string
리턴 bool

Peer() 공개 정적인 메소드

public static Peer ( ) : NetPeer
리턴 Lidgren.Network.NetPeer

Peer() 공개 정적인 메소드

public static Peer ( string Name ) : NetPeer
Name string
리턴 Lidgren.Network.NetPeer

Read() 공개 정적인 메소드

public static Read ( string Name ) : NetIncomingMessage
Name string
리턴 Lidgren.Network.NetIncomingMessage

ReadBoundingSphere() 공개 정적인 메소드

public static ReadBoundingSphere ( this Message ) : BoundingSphere
Message this
리턴 BoundingSphere

ReadLine() 공개 정적인 메소드

public static ReadLine ( this Message ) : Line
Message this
리턴 Line

ReadMatrix() 공개 정적인 메소드

public static ReadMatrix ( this Message ) : Matrix
Message this
리턴 Matrix

ReadPoint() 공개 정적인 메소드

public static ReadPoint ( this Message ) : Point
Message this
리턴 Point

ReadPolygon() 공개 정적인 메소드

public static ReadPolygon ( this Message ) : Polygon
Message this
리턴 EzGame.Collision.Polygon

ReadQuaternion() 공개 정적인 메소드

public static ReadQuaternion ( this Message, int Bits ) : Microsoft.Xna.Framework.Quaternion
Message this
Bits int
리턴 Microsoft.Xna.Framework.Quaternion

ReadRectangle() 공개 정적인 메소드

public static ReadRectangle ( this Message ) : Rectangle
Message this
리턴 Microsoft.Xna.Framework.Rectangle

ReadVector2() 공개 정적인 메소드

public static ReadVector2 ( this Message ) : Vector2
Message this
리턴 Vector2

ReadVector3() 공개 정적인 메소드

public static ReadVector3 ( this Message ) : Vector3
Message this
리턴 Vector3

ReadVector4() 공개 정적인 메소드

public static ReadVector4 ( this Message ) : Vector4
Message this
리턴 Vector4

Send() 공개 정적인 메소드

public static Send ( NetOutgoingMessage Message, NetConnection Except, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Message Lidgren.Network.NetOutgoingMessage
Except Lidgren.Network.NetConnection
Method NetDeliveryMethod
Channel int
리턴 void

Send() 공개 정적인 메소드

public static Send ( NetOutgoingMessage Message, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Message Lidgren.Network.NetOutgoingMessage
Method NetDeliveryMethod
Channel int
리턴 void

Send() 공개 정적인 메소드

public static Send ( string Name, NetOutgoingMessage Message, NetConnection Except, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Name string
Message Lidgren.Network.NetOutgoingMessage
Except Lidgren.Network.NetConnection
Method NetDeliveryMethod
Channel int
리턴 void

Send() 공개 정적인 메소드

public static Send ( string Name, NetOutgoingMessage Message, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Name string
Message Lidgren.Network.NetOutgoingMessage
Method NetDeliveryMethod
Channel int
리턴 void

SendTo() 공개 정적인 메소드

public static SendTo ( NetOutgoingMessage Message, NetConnection To, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Message Lidgren.Network.NetOutgoingMessage
To Lidgren.Network.NetConnection
Method NetDeliveryMethod
Channel int
리턴 void

SendTo() 공개 정적인 메소드

public static SendTo ( string Name, NetOutgoingMessage Message, NetConnection To, NetDeliveryMethod Method = NetDeliveryMethod.ReliableOrdered, int Channel ) : void
Name string
Message Lidgren.Network.NetOutgoingMessage
To Lidgren.Network.NetConnection
Method NetDeliveryMethod
Channel int
리턴 void

Shutdown() 공개 정적인 메소드

public static Shutdown ( string Name, string Reason ) : void
Name string
Reason string
리턴 void

Start() 공개 정적인 메소드

Start a server on a peer.
public static Start ( string Name, Lidgren.Network.NetPeerConfiguration Configuration ) : NetPeer
Name string The name of the peer.
Configuration Lidgren.Network.NetPeerConfiguration The configuration for the server.
리턴 Lidgren.Network.NetPeer

Start() 공개 정적인 메소드

Start a server on a peer.
public static Start ( string Name, int Port, int MaximumConnections ) : NetPeer
Name string The name of the peer.
Port int The port of the server.
MaximumConnections int The maximum connections on the server.
리턴 Lidgren.Network.NetPeer

Type() 공개 정적인 메소드

public static Type ( ) : Types?
리턴 Types?

Type() 공개 정적인 메소드

public static Type ( string Name ) : Types?
Name string
리턴 Types?

Write() 공개 정적인 메소드

public static Write ( this Message, BoundingSphere BoundingSphere ) : void
Message this
BoundingSphere BoundingSphere
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Line Variable ) : void
Message this
Variable Line
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Matrix Variable ) : void
Message this
Variable Matrix
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Point Variable ) : void
Message this
Variable Point
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Polygon Variable ) : void
Message this
Variable EzGame.Collision.Polygon
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Microsoft.Xna.Framework.Quaternion Quaternion, int Bits ) : void
Message this
Quaternion Microsoft.Xna.Framework.Quaternion
Bits int
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Rectangle Variable ) : void
Message this
Variable Microsoft.Xna.Framework.Rectangle
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Vector2 Variable ) : void
Message this
Variable Vector2
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Vector3 Variable ) : void
Message this
Variable Vector3
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, Vector4 Variable ) : void
Message this
Variable Vector4
리턴 void

Write() 공개 정적인 메소드

public static Write ( this Message, object Variable ) : void
Message this
Variable object
리턴 void

프로퍼티 상세

Peers 공개적으로 정적으로 프로퍼티

public static Dictionary Peers
리턴 NetPeer>.Dictionary