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)); }
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 })); }
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))))); }