mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
[Server] Remove WorldFunctions index parameters that are no longer used
This commit is contained in:
parent
9f998c9901
commit
1fc9dd4f93
2 changed files with 12 additions and 13 deletions
|
@ -63,35 +63,34 @@ void WorldFunctions::SetWorldEventCell(const char* cellDescription) noexcept
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectRefId(unsigned int i, const char* refId) noexcept
|
void WorldFunctions::SetObjectRefId(const char* refId) noexcept
|
||||||
{
|
{
|
||||||
printf("SetObjectRefId(%i, %s)\n", i, refId);
|
|
||||||
tempWorldObject.refId = refId;
|
tempWorldObject.refId = refId;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectRefNumIndex(unsigned int i, int refNumIndex) noexcept
|
void WorldFunctions::SetObjectRefNumIndex(int refNumIndex) noexcept
|
||||||
{
|
{
|
||||||
tempWorldObject.refNumIndex = refNumIndex;
|
tempWorldObject.refNumIndex = refNumIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectCount(unsigned int i, int count) noexcept
|
void WorldFunctions::SetObjectCount(int count) noexcept
|
||||||
{
|
{
|
||||||
tempWorldObject.count = count;
|
tempWorldObject.count = count;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectGoldValue(unsigned int i, int goldValue) noexcept
|
void WorldFunctions::SetObjectGoldValue(int goldValue) noexcept
|
||||||
{
|
{
|
||||||
tempWorldObject.goldValue = goldValue;
|
tempWorldObject.goldValue = goldValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectPosition(unsigned int i, double x, double y, double z) noexcept
|
void WorldFunctions::SetObjectPosition(double x, double y, double z) noexcept
|
||||||
{
|
{
|
||||||
tempWorldObject.pos.pos[0] = x;
|
tempWorldObject.pos.pos[0] = x;
|
||||||
tempWorldObject.pos.pos[1] = y;
|
tempWorldObject.pos.pos[1] = y;
|
||||||
tempWorldObject.pos.pos[2] = z;
|
tempWorldObject.pos.pos[2] = z;
|
||||||
}
|
}
|
||||||
|
|
||||||
void WorldFunctions::SetObjectRotation(unsigned int i, double x, double y, double z) noexcept
|
void WorldFunctions::SetObjectRotation(double x, double y, double z) noexcept
|
||||||
{
|
{
|
||||||
tempWorldObject.pos.rot[0] = x;
|
tempWorldObject.pos.rot[0] = x;
|
||||||
tempWorldObject.pos.rot[1] = y;
|
tempWorldObject.pos.rot[1] = y;
|
||||||
|
|
|
@ -43,12 +43,12 @@ public:
|
||||||
static void AddWorldObject() noexcept;
|
static void AddWorldObject() noexcept;
|
||||||
static void SetWorldEventCell(const char* cellDescription) noexcept;
|
static void SetWorldEventCell(const char* cellDescription) noexcept;
|
||||||
|
|
||||||
static void SetObjectRefId(unsigned int i, const char* refId) noexcept;
|
static void SetObjectRefId(const char* refId) noexcept;
|
||||||
static void SetObjectRefNumIndex(unsigned int i, int refNumIndex) noexcept;
|
static void SetObjectRefNumIndex(int refNumIndex) noexcept;
|
||||||
static void SetObjectCount(unsigned int i, int count) noexcept;
|
static void SetObjectCount(int count) noexcept;
|
||||||
static void SetObjectGoldValue(unsigned int i, int goldValue) noexcept;
|
static void SetObjectGoldValue(int goldValue) noexcept;
|
||||||
static void SetObjectPosition(unsigned int i, double x, double y, double z) noexcept;
|
static void SetObjectPosition(double x, double y, double z) noexcept;
|
||||||
static void SetObjectRotation(unsigned int i, double x, double y, double z) noexcept;
|
static void SetObjectRotation(double x, double y, double z) noexcept;
|
||||||
|
|
||||||
static unsigned int GetObjectChangesSize() noexcept;
|
static unsigned int GetObjectChangesSize() noexcept;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue