diff options
| author | 1992414357@qq.com <1992414357@qq.com> | 2025-06-16 04:57:50 +0800 |
|---|---|---|
| committer | 1992414357@qq.com <1992414357@qq.com> | 2025-06-16 04:57:50 +0800 |
| commit | b44b687c3c90642bbe609593b301cd248745dfc6 (patch) | |
| tree | 69f9b3250d9f0b1f2882054dd43b2af1d66bf4b9 /core/src/data/game/game_runtime.rs | |
| parent | 2f0b005c7855d83073326fe0d0de8e0c75e1c510 (diff) | |
Add CBindings of GameData, GameRuntime
Diffstat (limited to 'core/src/data/game/game_runtime.rs')
| -rw-r--r-- | core/src/data/game/game_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/data/game/game_runtime.rs b/core/src/data/game/game_runtime.rs index 1c5a548..7ce1991 100644 --- a/core/src/data/game/game_runtime.rs +++ b/core/src/data/game/game_runtime.rs @@ -154,7 +154,7 @@ impl GameRuntime { } /// Pop an event message - pub fn pop_event(&mut self) -> Option<(Account, ControlMessage)> { + pub fn pop_control_event(&mut self) -> Option<(Account, ControlMessage)> { let pop = self.control.events.pop_front(); if pop.is_some() { let (account, msg) = pop.unwrap(); |
