Class GameEngine
Provides information related to the game engine.
Inheritance
System.Object
GameEngine
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Oasys.SDK.dll
Syntax
Properties
ActivePlayer
Declaration
public static ActivePlayer ActivePlayer { get; }
Property Value
AllGameData
Declaration
public static AllGameData AllGameData { get; }
Property Value
AllPlayerData
Declaration
public static IEnumerable<AllPlayerData.PlayerData> AllPlayerData { get; }
Property Value
ChatBox
Gets information about the chatbox.
Declaration
public static ChatClient ChatBox { get; }
Property Value
Gets information about the frame rate (FPS).
Declaration
public static FrameClockFacade FrameInformation { get; }
Property Value
GamePing
The local ping to server.
Declaration
public static int GamePing { get; }
Property Value
Type |
Description |
System.Int32 |
|
GameStatus
Gets the current game status.
Declaration
public static GameStatusFlag GameStatus { get; }
Property Value
GameTick
Gets the current game tick. This is equal to gametime * 1000
Declaration
public static int GameTick { get; }
Property Value
Type |
Description |
System.Int32 |
|
GameTime
Gets the current game time in milliseconds format.
Declaration
public static float GameTime { get; }
Property Value
Type |
Description |
System.Single |
|
GameVersion
Gets the current game version.
Declaration
public static string GameVersion { get; }
Property Value
Type |
Description |
System.String |
|
HoveredGameObjectUnderMouse
Gets the game object that is underneath the mouse.
It will return last cached game object if no object is found.
Declaration
public static AIBaseClient HoveredGameObjectUnderMouse { get; }
Property Value
InGameInfo
Gets information about the current game match.
Declaration
public static MissionInfo InGameInfo { get; }
Property Value
IsGameWindowFocused
Gets a boolean value presenting if the game is in focus by windows.
Declaration
public static bool IsGameWindowFocused { get; }
Property Value
Type |
Description |
System.Boolean |
|
MaxZoomValue
Maz zoomable value in game.
Declaration
public static float MaxZoomValue { get; }
Property Value
Type |
Description |
System.Single |
|
Minimap
Gets information about the minimap.
Declaration
public static MinimapInfo Minimap { get; }
Property Value
ScreenMousePosition
Position of the cursor in screen projection relative to the world position.
Declaration
public static Vector2 ScreenMousePosition { get; }
Property Value
Type |
Description |
SharpDX.Vector2 |
|
WorldMousePosition
Position of the cursor in game world projection.
Declaration
public static Vector3 WorldMousePosition { get; }
Property Value
Type |
Description |
SharpDX.Vector3 |
|
ZoomValue
Current zoom value in game.
Declaration
public static float ZoomValue { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
IssueOrder(GameEngine.OrderType, Vector2)
Issue an order for the player(me) act on.
Declaration
public static void IssueOrder(GameEngine.OrderType issuedOrder, Vector2 positionOrdered)
Parameters
IssueOrder(GameEngine.OrderType, Vector3)
Issue an order for the player(me) act on.
Declaration
public static void IssueOrder(GameEngine.OrderType issuedOrder, Vector3 positionOrdered)
Parameters
IsWall(Vector3)
Checks whether the given vector3 position is a wall.
Declaration
public static bool IsWall(Vector3 vec3Pos)
Parameters
Type |
Name |
Description |
SharpDX.Vector3 |
vec3Pos |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods