| Quote: |
|
struct BotEvent { CALL_HANDLE handle; int code; void *p[8]; BotEvent(BotEvent &b); BotEvent(); }; |
| Quote: |
|
case EVENT_FlagVictory: { int team = *(int*)&event.p[0]; int reward = *(int*)&event.p[1]; } |
| Helicon wrote: |
| What exactly is
int code; used for? |
| Helicon wrote: |
|
the array *p usually contains event-specific data, right? |
| Helicon wrote: |
|
What exactly is BotEvent()? |
| Helicon wrote: |
|
Correct me if i am wrong: the int team now contains the freq number of the winning team the int reward now equals the total points each player on team received |
| Helicon wrote: |
|
Another round: Where exactly is the list of players stored (var array?) that is always accessable? |