C# Class GameCreatorGroupProject.ResourceClient

Inheritance: TCPClient
Afficher le fichier Open project: HeroOfTheWinds/CS-350-410-431-Group-Project Class Usage Examples

Méthodes publiques

Свойство Type Description
serverType byte

Méthodes publiques

Méthode Description
LoadResource ( ) : string
ResourceClient ( uint serverID ) : System
StringToByteArray ( string path ) : byte[]
connectClient ( string serverIP ) : void
disconnectClient ( ) : void
getClientType ( ) : int
send ( Object d ) : void

Private Methods

Méthode Description
ByteArrayToString ( byte bytes ) : string
getResourcePath ( ) : string

Method Details

LoadResource() public méthode

public LoadResource ( ) : string
Résultat string

ResourceClient() public méthode

public ResourceClient ( uint serverID ) : System
serverID uint
Résultat System

StringToByteArray() public méthode

public StringToByteArray ( string path ) : byte[]
path string
Résultat byte[]

connectClient() public méthode

public connectClient ( string serverIP ) : void
serverIP string
Résultat void

disconnectClient() public méthode

public disconnectClient ( ) : void
Résultat void

getClientType() public méthode

public getClientType ( ) : int
Résultat int

send() public méthode

public send ( Object d ) : void
d Object
Résultat void

Property Details

serverType public_oe static_oe property

public static byte serverType
Résultat byte