C# Class ManateesAgainstCards.Network.Client

Mostrar archivo Open project: DatZach/HumanityAgainstCards

Public Properties

Property Type Description
InMatch bool
Name string

Public Methods

Method Description
Connect ( string host, int port ) : void
Disconnect ( ) : void
SendMessage ( Packet packet, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered ) : void
UpdateNetwork ( ) : void

Private Methods

Method Description
Client ( ) : System
HandlePacket ( Packet packet ) : void

Method Details

Connect() public static method

public static Connect ( string host, int port ) : void
host string
port int
return void

Disconnect() public static method

public static Disconnect ( ) : void
return void

SendMessage() public static method

public static SendMessage ( Packet packet, NetDeliveryMethod method = NetDeliveryMethod.ReliableOrdered ) : void
packet Packet
method NetDeliveryMethod
return void

UpdateNetwork() public static method

public static UpdateNetwork ( ) : void
return void

Property Details

InMatch public_oe static_oe property

public static bool InMatch
return bool

Name public_oe static_oe property

public static string Name
return string