コード例 #1
0
        private static JassPtr Jass__ConstructorHook(JassPtr @this)
        {
            var result = InternalScript.Jass__Constructor(@this);

            try
            {
                InternalScript.jass = result;
            }
            catch (Exception e)
            {
                Trace.WriteLine("Unhandled Exception in InternalScript.Jass__ConstructorHook!");
                Trace.WriteLine(e.ToString());
            }

            return(result);
        }
コード例 #2
0
 public static JassPtr Jass__Constructor(JassPtr @this)
 {
     return(ThisCall.Invoke <JassPtr>(GameAddresses.Jass__Constructor, @this));
 }