Search Results for

    Show / Hide Table of Contents

    Struct GlobalVariable

    A value class which handles access to global script variables.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: GTA.Native
    Assembly: ScriptHookVDotNet3.dll
    Syntax
    public struct GlobalVariable

    Properties

    Name Description
    MemoryAddress

    Gets the native memory address of the GlobalVariable.

    Methods

    Name Description
    ClearBit(Int32)

    Set the value of a specific bit of the GlobalVariable to false.

    Get(Int32)

    Gets the global variable at the specified index.

    GetArray(Int32)

    Returns an array of all GlobalVariables in a global array.

    GetArrayItem(Int32, Int32)

    Gets the GlobalVariable stored at a specific index in a global array.

    GetStructField(Int32)

    Gets the GlobalVariable stored at a given offset in a global structure.

    IsBitSet(Int32)

    Gets a value indicating whether a specific bit of the GlobalVariable is set.

    Read<T>()

    Gets the value stored in the GlobalVariable.

    SetBit(Int32)

    Set the value of a specific bit of the GlobalVariable to true.

    Write<T>(T)

    Set the value stored in the GlobalVariable.

    WriteString(String, Int32)

    Set the value stored in the GlobalVariable to a string.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX