entWatch4: Rename iOwner to iClient.

Seems more logical this way.
This commit is contained in:
zaCade
2019-04-06 10:58:19 +02:00
parent bc3fae77d4
commit 7eb8b766c6
3 changed files with 24 additions and 24 deletions
+6 -6
View File
@@ -12,7 +12,7 @@ methodmap CItem < Basic
myclass.SetHandle("dConfig", value);
myclass.SetInt("iOwner", INVALID_ENT_REFERENCE);
myclass.SetInt("iClient", INVALID_ENT_REFERENCE);
myclass.SetInt("iButton", INVALID_ENT_REFERENCE);
myclass.SetInt("iWeapon", INVALID_ENT_REFERENCE);
myclass.SetInt("iTrigger", INVALID_ENT_REFERENCE);
@@ -37,15 +37,15 @@ methodmap CItem < Basic
}
property int iOwner
property int iClient
{
public get()
{
return this.GetInt("iOwner");
return this.GetInt("iClient");
}
public set(int value)
{
this.SetInt("iOwner", value);
this.SetInt("iClient", value);
}
}
@@ -111,11 +111,11 @@ methodmap CItem < Basic
}
property bool bOwner
property bool bClient
{
public get()
{
return view_as<bool>(this.iOwner != INVALID_ENT_REFERENCE);
return view_as<bool>(this.iClient != INVALID_ENT_REFERENCE);
}
}