ios-unity/Classes_cocos/WalletEvent.hpp
2022-07-13 14:59:29 +08:00

31 lines
462 B
C++

//
// WalletEvent.hpp
// Unity-iPhone
//
// Created by zhl on 2022/7/13.
//
#ifndef WalletEvent_hpp
#define WalletEvent_hpp
#include <stdio.h>
#pragma once
#include<string.h>
#include<iostream>
extern "C"
{
class WalletEvent
{
public:
static void (*Emit)(char* name, char* message);
};
// 注册C#的委托
void registWalletEventDelegate(void (*Emit)(char* name, char* message));
}
#endif /* WalletEvent_hpp */