/* call-seq: * player.lag -> Fixnum * * This method returns the lag value of the player */ static VALUE playerRecord_getLag(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); return INT2FIX(playerRecord->lag); }