C# 클래스 Economy.scripts.EconomyScript

상속: Sandbox.Common.MySessionComponentBase
파일 보기 프로젝트 열기: jpcsupplies/Economy_mod 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ClientConfig Economy.scripts.EconStructures.ClientConfig
ClientLogger TextLogger
Data Economy.scripts.EconStructures.EconDataStruct
DebugOn bool
DelayedConnectionRequestTimer System.Timers.Timer
Instance EconomyScript
PlayerMarketRegister MessageMarketManagePlayer>.Dictionary
ReactivePricing Economy.scripts.EconStructures.ReactivePricingStruct
ServerConfig Economy.scripts.EconStructures.EconConfigStruct
ServerCulture System.Globalization.CultureInfo
ServerLogger TextLogger

공개 메소드들

메소드 설명
SaveData ( ) : void
UpdateAfterSimulation ( ) : void

보호된 메소드들

메소드 설명
UnloadData ( ) : void

비공개 메소드들

메소드 설명
DelayedConnectionRequestTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
GotMessage ( string messageText, bool &sendToOthers ) : void
HandleMessage ( byte message ) : void
InitClient ( ) : void
InitServer ( ) : void
ProcessMessage ( string messageText ) : bool
SetLanguage ( ) : void

Sets the CultureInfo to use when formatting numbers and dates on the server, and the text resources when fetching names of game objects to display or send back to players.

Timer10EventsOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
Timer1EventsOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void
Timer3600EventsOnElapsed ( object sender, System.Timers.ElapsedEventArgs elapsedEventArgs ) : void

메소드 상세

SaveData() 공개 메소드

public SaveData ( ) : void
리턴 void

UnloadData() 보호된 메소드

protected UnloadData ( ) : void
리턴 void

UpdateAfterSimulation() 공개 메소드

public UpdateAfterSimulation ( ) : void
리턴 void

프로퍼티 상세

ClientConfig 공개적으로 프로퍼티

This will temporarily store Client side details while the client is connected. It will receive periodic updates from the server.
public ClientConfig,Economy.scripts.EconStructures ClientConfig
리턴 Economy.scripts.EconStructures.ClientConfig

ClientLogger 공개적으로 프로퍼티

public TextLogger,Economy.scripts ClientLogger
리턴 TextLogger

Data 공개적으로 프로퍼티

public EconDataStruct,Economy.scripts.EconStructures Data
리턴 Economy.scripts.EconStructures.EconDataStruct

DebugOn 공개적으로 프로퍼티

Set manually to true for testing purposes. No need for this function in general.
public bool DebugOn
리턴 bool

DelayedConnectionRequestTimer 공개적으로 프로퍼티

public Timer,System.Timers DelayedConnectionRequestTimer
리턴 System.Timers.Timer

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

public static EconomyScript,Economy.scripts Instance
리턴 EconomyScript

PlayerMarketRegister 공개적으로 프로퍼티

Manages the confirmation of players market registrations securely.
public Dictionary PlayerMarketRegister
리턴 MessageMarketManagePlayer>.Dictionary

ReactivePricing 공개적으로 프로퍼티

public ReactivePricingStruct,Economy.scripts.EconStructures ReactivePricing
리턴 Economy.scripts.EconStructures.ReactivePricingStruct

ServerConfig 공개적으로 프로퍼티

public EconConfigStruct,Economy.scripts.EconStructures ServerConfig
리턴 Economy.scripts.EconStructures.EconConfigStruct

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

public static CultureInfo,System.Globalization ServerCulture
리턴 System.Globalization.CultureInfo

ServerLogger 공개적으로 프로퍼티

public TextLogger,Economy.scripts ServerLogger
리턴 TextLogger