/* call-seq: * event_data.player_id -> Fixnum * * Returns the player id of the player who invoked the event. */ static VALUE getPlayerSpawnPosEventData_getPlayerID(VALUE self) { bz_GetPlayerSpawnPosEventData *eventData; Data_Get_Struct(self, bz_GetPlayerSpawnPosEventData, eventData); return INT2FIX(eventData->playerID); }