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
Afficher le fichier Open project: jpcsupplies/Economy_mod

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static FetchMission ( int missionId ) : void
missionId int
Résultat void

GPS() public static méthode

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
Résultat void

UpdateAfterSimulation() public static méthode

public static UpdateAfterSimulation ( ) : void
Résultat void

UpdateHud() public static méthode

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

UpdateMission() public static méthode

public static UpdateMission ( ) : void
Résultat void