public Marshaled_PlayErrorsParams(PlayErrors.SourceEntityInfo sourceInfo, PlayErrors.PlayerInfo playerInfo, PlayErrors.GameStateInfo gameInfo) { this.source = PlayErrors.Marshaled_SourceEntityInfo.ConvertFromSourceEntityInfo(sourceInfo); this.player = PlayErrors.Marshaled_PlayerInfo.ConvertFromPlayerInfo(playerInfo); this.game = PlayErrors.Marshaled_GameStateInfo.ConvertFromGameStateInfo(gameInfo); }
public static PlayErrors.Marshaled_GameStateInfo ConvertFromGameStateInfo(PlayErrors.GameStateInfo gameInfo) { return(new PlayErrors.Marshaled_GameStateInfo { currentStep = gameInfo.currentStep }); }