Search Results for

    Show / Hide Table of Contents

    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()
    Namespace: Oasys.SDK
    Assembly: Oasys.SDK.dll
    Syntax
    public class GameEngine

    Properties

    ActivePlayer

    Declaration
    public static ActivePlayer ActivePlayer { get; }
    Property Value
    Type Description
    ActivePlayer

    AllGameData

    Declaration
    public static AllGameData AllGameData { get; }
    Property Value
    Type Description
    AllGameData

    AllPlayerData

    Declaration
    public static IEnumerable<AllPlayerData.PlayerData> AllPlayerData { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<AllPlayerData.PlayerData>

    ChatBox

    Gets information about the chatbox.

    Declaration
    public static ChatClient ChatBox { get; }
    Property Value
    Type Description
    ChatClient

    FrameInformation

    Gets information about the frame rate (FPS).

    Declaration
    public static FrameClockFacade FrameInformation { get; }
    Property Value
    Type Description
    FrameClockFacade

    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
    Type Description
    GameStatusFlag

    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
    Type Description
    AIBaseClient

    InGameInfo

    Gets information about the current game match.

    Declaration
    public static MissionInfo InGameInfo { get; }
    Property Value
    Type Description
    MissionInfo

    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
    Type Description
    MinimapInfo

    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
    Type Name Description
    GameEngine.OrderType issuedOrder
    SharpDX.Vector2 positionOrdered

    IssueOrder(GameEngine.OrderType, Vector3)

    Issue an order for the player(me) act on.

    Declaration
    public static void IssueOrder(GameEngine.OrderType issuedOrder, Vector3 positionOrdered)
    Parameters
    Type Name Description
    GameEngine.OrderType issuedOrder
    SharpDX.Vector3 positionOrdered

    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

    Extensions.In<T>(T, T[])
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾