summaryrefslogtreecommitdiffstats
path: root/source/Entities/Player.h
diff options
context:
space:
mode:
authorDaniel O'Brien <marmot.daniel@gmail.com>2013-11-14 06:20:27 +0100
committerDaniel O'Brien <marmot.daniel@gmail.com>2013-11-14 06:20:27 +0100
commit21bd1d74a17ac92871b5fa32d4258cb669a5a9a0 (patch)
tree82fe52f0a44f2b0c95669f1be332159ccd3abc2e /source/Entities/Player.h
parentfixed comment (diff)
downloadcuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.tar
cuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.tar.gz
cuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.tar.bz2
cuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.tar.lz
cuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.tar.xz
cuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.tar.zst
cuberite-21bd1d74a17ac92871b5fa32d4258cb669a5a9a0.zip
Diffstat (limited to 'source/Entities/Player.h')
-rw-r--r--source/Entities/Player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/Entities/Player.h b/source/Entities/Player.h
index e89bd3739..ab2f94d4c 100644
--- a/source/Entities/Player.h
+++ b/source/Entities/Player.h
@@ -64,6 +64,9 @@ public:
/// Returns the currently equipped boots; empty item if none
virtual cItem GetEquippedBoots(void) const override { return m_Inventory.GetEquippedBoots(); }
+
+ // tolua_begin
+
/** Sets the experience total
Returns true on success
"should" really only be called at init or player death, plugins excepted
@@ -83,6 +86,8 @@ public:
/// Gets the experience bar percentage - XpP
float XpGetPercentage(void);
+
+ // tolua_end
/// Starts charging the equipped bow
void StartChargingBow(void);