C# Class Economy.scripts.EconConfig.HudManager

This will manage the Missions. Currently it is temporarily running from the Client side only, and will need to be controlled server side when finished. Mission completion condition checks (for a players current mission) should try if possible to run client side to distrubute load over players instead of using server sim
显示文件 Open project: jpcsupplies/Economy_mod

Public Methods

Method Description
FetchMission ( int missionId ) : void
GPS ( double x, double y, double z, string name, string description, bool create ) : void
UpdateAfterSimulation ( ) : void
UpdateHud ( ) : bool

This will update values to appear on the hud.

UpdateMission ( ) : void

Private Methods

Method Description
DisplayHud ( ) : void

Displays the current hud information. It should not contain any complex calculation, merly update the Hud as fast as possible.

HudManager ( ) : System.Collections.Generic

Method Details

FetchMission() public static method

public static FetchMission ( int missionId ) : void
missionId int
return void

GPS() public static method

public static GPS ( double x, double y, double z, string name, string description, bool create ) : void
x double
y double
z double
name string
description string
create bool
return void

UpdateAfterSimulation() public static method

public static UpdateAfterSimulation ( ) : void
return void

UpdateHud() public static method

This will update values to appear on the hud.
public static UpdateHud ( ) : bool
return bool

UpdateMission() public static method

public static UpdateMission ( ) : void
return void