16 lines
356 B
C++
16 lines
356 B
C++
//
|
||
// WalletEvent.cpp
|
||
// Unity-iPhone
|
||
//
|
||
// Created by zhl on 2022/7/13.
|
||
//
|
||
|
||
#include "WalletEvent.h"
|
||
// 定义函数指针,用来接受C#的委托
|
||
void(*WalletEvent::Emit)(const char* name, const char* message);
|
||
|
||
// 注册C#的委托
|
||
void registWalletEventDelegate(void(*Emit)(const char* name, const char* message))
|
||
{
|
||
WalletEvent::Emit = Emit;
|
||
} |