All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Functions | Variables
aion.c File Reference
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
#include "queue.h"
#include "aion.h"
#include "util.h"
#include "txtbuf.h"
#include "console.h"
#include "regeng.h"
#include "event.h"
#include "items.h"

Classes

struct  aion_player
 

Functions

 LIST_HEAD (aion_player_list, aion_player)
 
static void aion_player_init (struct aion_player *player, char *name)
 
static struct aion_playeraion_player_alloc (char *charname)
 
static struct aion_playeraion_group_find (char *charname)
 
static void aion_group_dump (void)
 
static void aion_group_iter_fill (struct aion_group_iter *iter, struct aion_player *player)
 
bool aion_init (void)
 
bool aion_clipboard_set (char *text)
 
bool aion_player_is_self (char *charname)
 
void aion_player_name_set (char *charname)
 
bool aion_player_chat_cache (char *charname, char *chat)
 
bool aion_player_chat_get (char *charname, int msgnum, char *dst, size_t dst_sz)
 
bool aion_group_join (char *charname)
 
bool aion_group_leave (char *charname)
 
void aion_group_disband (void)
 
void aion_group_loot (char *charname, uint32_t itemid)
 
bool aion_group_apvalue_update (char *charname, uint32_t apval)
 
bool aion_group_apvalue_set (char *charname, uint32_t apval)
 
void aion_apvalue_reset (void)
 
uint32_t aion_group_apvalue_lowest (void)
 
bool aion_invfull_set (char *charname, bool isfull)
 
bool aion_invfull_get (char *charname)
 
void aion_invfull_excl_set (bool enable)
 
bool aion_invfull_excl_get (void)
 
void aion_invfull_clear (void)
 
void aion_aplimit_set (uint32_t aplimit)
 
uint32_t aion_aplimit_get (void)
 
bool aion_aploot_stats (char *stats, size_t stats_sz)
 
bool aion_aploot_fmt_set (char *fmt)
 
bool aion_aploot_fmt_parse (char *fmt)
 
void aion_aploot_fmt_print (char *str, size_t strsz, char *name, uint32_t apval)
 
bool aion_aploot_rights (char *stats, size_t stats_sz)
 
void aion_group_first (struct aion_group_iter *iter)
 
void aion_group_next (struct aion_group_iter *iter)
 
bool aion_group_end (struct aion_group_iter *iter)
 

Variables

struct aion_player aion_player_self
 
struct aion_player_list aion_players_cached
 
struct aion_player_list aion_group
 
static bool aion_invfull_exclude = false
 
static uint32_t aion_ap_limit = 0
 
struct {
   char   roll_header [AION_CHAT_SZ]
 
   char   roll_list [AION_CHAT_SZ]
 
   char   pass_header [AION_CHAT_SZ]
 
   char   pass_list [AION_CHAT_SZ]
 
   char   invfull_header [AION_CHAT_SZ]
 
   char   invfull_list [AION_CHAT_SZ]
 
aion_aploot_format
 

Detailed Description

Aion specific functionality, tracking groups, chatlog ...

Author
Mitja Horvat pinkf.nosp@m.luid.nosp@m.@gmai.nosp@m.l.co.nosp@m.m