Initial commit: Client Doc docs Server Tools
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { MODULE_NAME } from './conf';
|
||||
export default {
|
||||
_send: null,
|
||||
init() {
|
||||
this._send = GameGlobal.Module.SendMessage;
|
||||
},
|
||||
send(method, str = '') {
|
||||
if (!this._send) {
|
||||
this.init();
|
||||
}
|
||||
|
||||
this._send(MODULE_NAME, method, str);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user