Ejemplo n.º 1
0
    public TapjoyEvent(string eventName, string eventParameter, ITapjoyEvent callback)
    {
        myName      = eventName;
        myParameter = eventParameter;
        myCallback  = callback;
        myGuid      = TapjoyPlugin.CreateEvent(this, eventName, eventParameter);

        Debug.Log(String.Format("C#: Event {0} created with GUID:{1} with Param:{2}", myName, myGuid, myParameter));
    }
Ejemplo n.º 2
0
 public TapjoyEvent(string eventName, string eventParameter, ITapjoyEvent callback)
 {
     this.myName      = eventName;
     this.myParameter = eventParameter;
     this.myCallback  = callback;
     this.myGuid      = TapjoyPlugin.CreateEvent(this, eventName, eventParameter);
     Debug.Log(string.Format("C#: Event {0} created with GUID:{1} with Param:{2}", new object[]
     {
         this.myName,
         this.myGuid,
         this.myParameter
     }));
 }
Ejemplo n.º 3
0
 public unsafe static long $Invoke27(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(TapjoyPlugin.CreateEvent((TapjoyEvent)GCHandledObjects.GCHandleToObject(*args), Marshal.PtrToStringUni(*(IntPtr *)(args + 1)), Marshal.PtrToStringUni(*(IntPtr *)(args + 2)))));
 }