/* call-seq: * event_data.rot -> Float * * This method returns the rotation angle of the player who is * going to spawn. */ static VALUE getPlayerSpawnPosEventData_getRot(VALUE self) { bz_GetPlayerSpawnPosEventData *eventData; Data_Get_Struct(self, bz_GetPlayerSpawnPosEventData, eventData); return rb_float_new(eventData->rot); }