Skip to content

Commit

Permalink
[Updated] PlayerObject.idl
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrax989 committed May 7, 2019
1 parent 3251f54 commit fe6350c
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions MMOCoreORB/src/server/zone/objects/player/PlayerObject.idl
Expand Up @@ -3,7 +3,7 @@
See file COPYING for copying conditions.*/

package server.zone.objects.player;

import engine.log.Logger;
import engine.service.proto.BaseMessage;
import engine.service.proto.BasePacket;
import engine.util.u3d.Vector3;
Expand Down Expand Up @@ -49,7 +49,7 @@ include server.zone.objects.scene.variables.DeltaBitArray;
class PlayerObject extends IntangibleObject {
protected unsigned int characterBitmask;
protected string title;

protected int playerLogLevel;
protected string savedTerrainName;
protected unsigned long savedParentID;

Expand Down Expand Up @@ -304,6 +304,7 @@ class PlayerObject extends IntangibleObject {
public static final unsigned long PVP_RESET_TIME = 259200000; // 3 days

public PlayerObject() {
playerLogLevel = 4; // INFO
characterBitmask = 0;

commandMessageStrings.setNoDuplicateInsertPlan();
Expand Down Expand Up @@ -398,12 +399,30 @@ class PlayerObject extends IntangibleObject {
pveKills = 0;
pveDeaths = 0;
missionsCompleted = 0;
Logger.setLoggingName("PlayerObjectBase");
}

public void finalize() {

}

@dirty
@nativeStub
@local
public native PlayerObject asPlayerObject();

public void setLogLevel(int newLevel) {
playerLogLevel = newLevel;
}

public int getLogLevel() {
return playerLogLevel;
}

public native void info(final string msg, boolean force = false);
public native void debug(final string msg);
public native void error(final string msg);

public void setClientPathWaypoint(SceneObject obj) {
currentClientPathWaypoint = obj;
}
Expand Down

0 comments on commit fe6350c

Please sign in to comment.