<commit_before>/*
 * LuaPlayerObject.h
 *
 *  Created on: 13/01/2012
 *      Author: victor
 */

#ifndef LUAPLAYEROBJECT_H_
#define LUAPLAYEROBJECT_H_

#include "engine/engine.h"
#include "server/zone/objects/intangible/LuaIntangibleObject.h"
#include "PlayerObject.h"

class LuaPlayerObject : public LuaIntangibleObject {
public:
	// Constants
	static const char className[];
	static Luna<LuaPlayerObject>::RegType Register[];

	// Initialize the pointer
	LuaPlayerObject(lua_State *L);
	~LuaPlayerObject();

	int _setObject(lua_State* L);
	// Methods we will need to use
	int getFactionStanding(lua_State* L);
	int isOnLeave(lua_State* L);
	int isOvert(lua_State* L);
	int isCovert(lua_State* L);
	int setFactionStatus(lua_State* L);
	int isChangingFactionStatus(lua_State* L);
	int increaseFactionStanding(lua_State* L);
	int decreaseFactionStanding(lua_State* L);
	int addWaypoint(lua_State* L);
	int addRewardedSchematic(lua_State* L);
	int addPermissionGroup(lua_State* L);
	int removePermissionGroup(lua_State* L);
	int hasPermissionGroup(lua_State* L);
	int awardBadge(lua_State* L);
	int hasBadge(lua_State* L);

private:
	int hasPermissionGroup(lua_State* L);
	// The pointer to the 'real object' defined in object.cc
	Reference<PlayerObject*> realObject;
};



#endif /* LUAPLAYEROBJECT_H_ */
<commit_msg>(unstable) [fixed] merge error<commit_after>/*
 * LuaPlayerObject.h
 *
 *  Created on: 13/01/2012
 *      Author: victor
 */

#ifndef LUAPLAYEROBJECT_H_
#define LUAPLAYEROBJECT_H_

#include "engine/engine.h"
#include "server/zone/objects/intangible/LuaIntangibleObject.h"
#include "PlayerObject.h"

class LuaPlayerObject : public LuaIntangibleObject {
public:
	// Constants
	static const char className[];
	static Luna<LuaPlayerObject>::RegType Register[];

	// Initialize the pointer
	LuaPlayerObject(lua_State *L);
	~LuaPlayerObject();

	int _setObject(lua_State* L);
	// Methods we will need to use
	int getFactionStanding(lua_State* L);
	int isOnLeave(lua_State* L);
	int isOvert(lua_State* L);
	int isCovert(lua_State* L);
	int setFactionStatus(lua_State* L);
	int isChangingFactionStatus(lua_State* L);
	int increaseFactionStanding(lua_State* L);
	int decreaseFactionStanding(lua_State* L);
	int addWaypoint(lua_State* L);
	int addRewardedSchematic(lua_State* L);
	int addPermissionGroup(lua_State* L);
	int removePermissionGroup(lua_State* L);
	int hasPermissionGroup(lua_State* L);
	int awardBadge(lua_State* L);
	int hasBadge(lua_State* L);

private:
	// The pointer to the 'real object' defined in object.cc
	Reference<PlayerObject*> realObject;
};



#endif /* LUAPLAYEROBJECT_H_ */

{'fraction_non_alphanumeric': 0.11264367816091954, 'fraction_numerical': 0.006130268199233717, 'mean_word_length': 5.835078534031414, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5561110', 'n_tokens_mistral': 963, 'n_tokens_neox': 931, 'n_words': 214}