C# 클래스 Plugin.NetworkManager

Manages all network stuff
파일 보기 프로젝트 열기: Silveryard/SmartHome

공개 메소드들

메소드 설명
Close ( ) : void

Closes the networkmanager

GetNetworkFunction ( string name ) : FunctionInfo

Returns the corresponding network function to the custom name

Init ( ) : void

Initializes the manager

RegisterNetworkFunction ( FunctionInfo info ) : void

Registers a networkfunction so it can get called

UnregisterNetworkFunction ( string name ) : void

Unregisteres a networkfunction so it cant get called anymore

비공개 메소드들

메소드 설명
HandleMessage ( ServerInstance arg1, string message ) : void
IndexesOf ( this haystack, string needle ) : IEnumerable
PluginManager_PluginUnload ( Plugin plugin ) : void
Server_CliendDisconnected ( ServerInstance obj ) : void
Server_ClientConnected ( ServerInstance obj ) : void
Server_MessageReceived ( ServerInstance arg1, byte arg2 ) : void

메소드 상세

Close() 공개 정적인 메소드

Closes the networkmanager
public static Close ( ) : void
리턴 void

GetNetworkFunction() 공개 정적인 메소드

Returns the corresponding network function to the custom name
public static GetNetworkFunction ( string name ) : FunctionInfo
name string The network functions name
리턴 FunctionInfo

Init() 공개 정적인 메소드

Initializes the manager
public static Init ( ) : void
리턴 void

RegisterNetworkFunction() 공개 정적인 메소드

Registers a networkfunction so it can get called
public static RegisterNetworkFunction ( FunctionInfo info ) : void
info FunctionInfo The functions info
리턴 void

UnregisterNetworkFunction() 공개 정적인 메소드

Unregisteres a networkfunction so it cant get called anymore
public static UnregisterNetworkFunction ( string name ) : void
name string The functions info
리턴 void