예제 #1
0
 public static JassPtr Jass__Constructor(JassPtr @this)
 {
     return(ThisCall.Invoke <JassPtr>(GameAddresses.Jass__Constructor, @this));
 }
예제 #2
0
 public static CodeResult VirtualMachine__RunCode(VirtualMachinePtr @this, IntPtr opCode, IntPtr a3, UInt32 opLimit, IntPtr a5)
 {
     return(ThisCall.Invoke <CodeResult>(GameAddresses.VirtualMachine__RunCode, @this, opCode, a3, opLimit, a5));
 }
예제 #3
0
 public static void CTriggerWar3__ExecutePrototype(CTriggerWar3Ptr @this, IntPtr a2)
 {
     ThisCall.Invoke <IntPtr>(GameAddresses.CTriggerWar3__Execute, @this, a2);
 }
예제 #4
0
 public static IntPtr JassStringManager__ResizePrototype(JassStringManager * @this, UInt32 newSize)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.JassStringManager__Resize, new IntPtr(@this), newSize));
 }
예제 #5
0
 // Constructor: 39A910 found using ".\CWorldFrameWar3.cpp", used three times in one function, initializer style function.
 // CWorldFrameWar3, size = 0x668
 public static Boolean Unknown__UpdateMouse(IntPtr @this, Single uiX, Single uiY, IntPtr terrainPtr, IntPtr a4)
 {
     return(ThisCall.Invoke <Boolean>(GameAddresses.Unknown__UpdateMouse, @this, uiX, uiY, terrainPtr, a4));
 }
예제 #6
0
 public String GetClassName()
 {
     return(Memory.ReadString(ThisCall.Invoke <IntPtr>(this.Virtual->CAgent__GetClassName, this.AsSafe())));
 }
예제 #7
0
 public unsafe string GetClassName()
 {
     return(Memory.ReadString(ThisCall.Invoke <IntPtr>(Virtual->CAgent__GetClassName, (object)AsSafe())));
 }
예제 #8
0
 public static IntPtr CGameUI__Constructor(CGameUI @this)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.CGameUI__Constructor, @this));
 }
예제 #9
0
 public static unsafe IntPtr JassStringManager__ResizePrototype(JassStringManager * @this, uint newSize)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.JassStringManager__Resize, new IntPtr((void *)@this), newSize));
 }
예제 #10
0
 public unsafe ObjectIdL GetClassId()
 {
     return(ThisCall.Invoke <ObjectIdL>(Virtual->CAgent__GetClassId, (object)AsSafe()));
 }
예제 #11
0
 public static bool Unknown__UpdateMouse(IntPtr @this, float uiX, float uiY, IntPtr terrainPtr, IntPtr a4)
 {
     return(ThisCall.Invoke <bool>(GameAddresses.Unknown__UpdateMouse, @this, uiX, uiY, terrainPtr, a4));
 }
예제 #12
0
 public static unsafe IntPtr CGameUI__DisplayChatMessage(CGameUI * @this, int sender, string message, ChatRecipients recipients, float duration)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.CGameUI__DisplayChatMessage, (IntPtr)(void *)@this, sender, message, recipients, duration));
 }
예제 #13
0
 public CAbility *GetAbility(ObjectIdL ability)
 {
     return(ThisCall.Invoke <CAbilityPtr>(GameAddresses.CUnit__GetAbility, ability, false, true, true, true).AsUnsafe());
 }
예제 #14
0
 public static IntPtr VirtualMachine__RunFunction(VirtualMachinePtr @this, String functionName, IntPtr a3, IntPtr a4, IntPtr a5, IntPtr a6)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.VirtualMachine__RunFunction, @this, functionName, a3, a4, a5, a6));
 }
예제 #15
0
 public static unsafe CodeResult VirtualMachine__RunCode(VirtualMachine * @this, IntPtr opCode, IntPtr a3, uint opLimit, IntPtr a5)
 {
     return(ThisCall.Invoke <CodeResult>(GameAddresses.VirtualMachine__RunCode, new IntPtr((void *)@this), opCode, a3, opLimit, a5));
 }
예제 #16
0
 /// <summary>
 /// Prints a message.
 /// </summary>
 /// <param name="_this">The CSimpleMessageFrame to print the message.</param>
 /// <param name="message">The message.</param>
 /// <param name="color">The base color.</param>
 /// <param name="duration">The duration.</param>
 /// <param name="a5">Unknown</param>
 /// <returns>Unknown</returns>
 public static IntPtr CSimpleMessageFrame__WriteLine(CSimpleMessageFramePtr @this, String message, ref Color color, Single duration, Int32 a5)
 {
     fixed(Color *colorPtr = &color)
     return(ThisCall.Invoke <IntPtr>(GameAddresses.CSimpleMessageFrame__WriteLine, @this, message, new IntPtr(colorPtr), duration, a5));
 }
예제 #17
0
 public static unsafe IntPtr VirtualMachine__RunFunction(VirtualMachine * @this, string functionName, IntPtr a3, IntPtr a4, IntPtr a5, IntPtr a6)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.VirtualMachine__RunFunction, new IntPtr((void *)@this), functionName, a3, a4, a5, a6));
 }
예제 #18
0
 /// <summary>
 /// Displays a chat message as sent by a player.
 /// </summary>
 /// <param name="this">The CGameUI instance.</param>
 /// <param name="sender">The player that send the message.</param>
 /// <param name="message">The message sent.</param>
 /// <param name="recipients">The team to receive the message.</param>
 /// <param name="duration">The duration the message should be shown.</param>
 /// <returns>Unknown</returns>
 public static IntPtr CGameUI__DisplayChatMessage(CGameUI @this, Int32 sender, String message, ChatRecipients recipients, Single duration)
 {
     return(ThisCall.Invoke <IntPtr>(GameAddresses.CGameUI__DisplayChatMessage, @this, sender, message, recipients, duration));
 }
예제 #19
0
        //public static AbilDataCacheNodePtr GetAbilDataCacheNodeFromId(ObjectIdL id)
        //{
        //    return FastCall.Invoke<AbilDataCacheNodePtr>(GameAddresses.GetAbilDataCacheNodeFromId, (object)id);
        //}

        //public static IntPtr CGameUI__Constructor(CGameUI @this)
        //{
        //    return ThisCall.Invoke<IntPtr>(GameAddresses.CGameUI__Constructor, (object)@this);
        //}

        //public static unsafe IntPtr CGameUI__DisplayChatMessage(CGameUI* @this, int sender, string message, ChatRecipients recipients, float duration)
        //{
        //    return ThisCall.Invoke<IntPtr>(GameAddresses.CGameUI__DisplayChatMessage, (IntPtr)((void*)@this), sender, message, recipients, duration);
        //}

        //public static bool Unknown__UpdateMouse(IntPtr @this, float uiX, float uiY, IntPtr terrainPtr, IntPtr a4)
        //{
        //    return ThisCall.Invoke<bool>(GameAddresses.Unknown__UpdateMouse, @this, uiX, uiY, terrainPtr, a4);
        //}

        public static int Unknown__SetState(IntPtr @this, bool endMap, bool endEngine)
        {
            return(ThisCall.Invoke <int>(GameAddresses.Unknown__SetState, @this, endMap, endEngine));
        }
예제 #20
0
 // Constructor: 0074F0 found using "e:\\drive1\\temp\\buildwar3x\\war3\\source\\Data.h", 3rd result, constructor style function.
 // Data, size = 0x408
 public static Int32 Unknown__SetState(IntPtr @this, Boolean endMap, Boolean endEngine)
 {
     return(ThisCall.Invoke <Int32>(GameAddresses.Unknown__SetState, @this, endMap, endEngine));
 }
예제 #21
0
 public ObjectIdL GetClassId()
 {
     return(ThisCall.Invoke <ObjectIdL>(this.Virtual->CAgent__GetClassId, this.AsSafe()));
 }