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 05:00:40 +0800 |
| commit | 05f078b19471d2d05c71613afd42bab8df522b00 (patch) | |
| tree | da0ef21a88131b6e495bf6ec0dc03092e2815a76 /core/src/data/game/game_runtime.rs | |
| parent | 4a00dc20114401aee3d09539c265ae0f4369dfd6 (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(); |
