summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/core.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/core.rs b/src/client/core.rs
index 278dc00..f120fa1 100644
--- a/src/client/core.rs
+++ b/src/client/core.rs
@@ -139,6 +139,10 @@ impl ClientCore {
139 self.game.set_balance(balance); 139 self.game.set_balance(balance);
140 } 140 }
141 141
142 pub fn balance(&self) -> Option<i64> {
143 self.balance
144 }
145
142 pub fn set_host_info(&mut self, host: Option<String>, fingerprint: Option<String>) { 146 pub fn set_host_info(&mut self, host: Option<String>, fingerprint: Option<String>) {
143 self.host = host; 147 self.host = host;
144 self.fingerprint = fingerprint; 148 self.fingerprint = fingerprint;