mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
[Server] Change signatures of GetLastEventAction & SetScriptEventAction
This commit is contained in:
parent
059043fea9
commit
b158e89f77
2 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@ unsigned int WorldFunctions::GetObjectChangesSize() noexcept
|
||||||
return mwmp::Networking::getPtr()->getLastEvent()->objectChanges.count;
|
return mwmp::Networking::getPtr()->getLastEvent()->objectChanges.count;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int WorldFunctions::GetLastEventAction() noexcept
|
unsigned char WorldFunctions::GetLastEventAction() noexcept
|
||||||
{
|
{
|
||||||
return mwmp::Networking::getPtr()->getLastEvent()->action;
|
return mwmp::Networking::getPtr()->getLastEvent()->action;
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,7 @@ void WorldFunctions::SetScriptEventCell(const char* cellDescription) noexcept
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetScriptEventAction(int action) noexcept
|
void WorldFunctions::SetScriptEventAction(unsigned char action) noexcept
|
||||||
{
|
{
|
||||||
scriptEvent.action = action;
|
scriptEvent.action = action;
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,7 +68,7 @@ public:
|
||||||
static void InitScriptEvent(unsigned short pid) noexcept;
|
static void InitScriptEvent(unsigned short pid) noexcept;
|
||||||
|
|
||||||
static unsigned int GetObjectChangesSize() noexcept;
|
static unsigned int GetObjectChangesSize() noexcept;
|
||||||
static unsigned int GetLastEventAction() noexcept;
|
static unsigned char GetLastEventAction() noexcept;
|
||||||
|
|
||||||
static const char *GetObjectRefId(unsigned int i) noexcept;
|
static const char *GetObjectRefId(unsigned int i) noexcept;
|
||||||
static int GetObjectRefNumIndex(unsigned int i) noexcept;
|
static int GetObjectRefNumIndex(unsigned int i) noexcept;
|
||||||
|
@ -92,7 +92,7 @@ public:
|
||||||
static int GetContainerItemActionCount(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
static int GetContainerItemActionCount(unsigned int objectIndex, unsigned int itemIndex) noexcept;
|
||||||
|
|
||||||
static void SetScriptEventCell(const char* cellDescription) noexcept;
|
static void SetScriptEventCell(const char* cellDescription) noexcept;
|
||||||
static void SetScriptEventAction(int action) noexcept;
|
static void SetScriptEventAction(unsigned char action) noexcept;
|
||||||
|
|
||||||
static void SetObjectRefId(const char* refId) noexcept;
|
static void SetObjectRefId(const char* refId) noexcept;
|
||||||
static void SetObjectRefNumIndex(int refNumIndex) noexcept;
|
static void SetObjectRefNumIndex(int refNumIndex) noexcept;
|
||||||
|
|
Loading…
Reference in a new issue