// Create mets to ./temp folder and use "skinid_gameid.met" naming convention? public static OnlineMatchInfo CreateMoneyMatchInfo(string[] players, int creator, int[] ratings, int stake, int limit, string venue_id, int id, DateTime timestamp) { OnlineMatchInfo match_info = new OnlineMatchInfo(); match_info.players = players; match_info.creator = creator; match_info.ratings = ratings; match_info.stake = stake; match_info.limit = limit; match_info.venue_id = venue_id; match_info.id = id; match_info.timestamp = timestamp; return(match_info); }
// Create mets to ./temp folder and use "skinid_gameid.met" naming convention? public static OnlineMatchInfo CreateMoneyMatchInfo(string[] players, int creator, int[] ratings, int stake, int limit, string venue_id, int id, DateTime timestamp) { OnlineMatchInfo match_info = new OnlineMatchInfo(); match_info.players = players; match_info.creator = creator; match_info.ratings = ratings; match_info.stake = stake; match_info.limit = limit; match_info.venue_id = venue_id; match_info.id = id; match_info.timestamp = timestamp; return match_info; }
/// <summary> /// /// </summary> /// <param name="match_info"></param> /// <param name="winner"></param> /// <param name="cube_value"></param> /// <param name="points"></param> /// <returns></returns> // http://msdn.microsoft.com/en-us/library/system.decimal.aspx // http://stackoverflow.com/questions/1008826/what-data-type-should-i-use-to-represent-money-in-c public abstract decimal Rake(OnlineMatchInfo match_info, int winner, int cube_value, int points);