public static FieldInfo GetFinishCallBack(AbstractGame game) { FieldInfo callBackField = PrivateValueAccessor.GetPrivateFieldInfo(game.GetType().BaseType, "callback_0"); if (callBackField == null) { return(null); } return(callBackField); }
public static FieldInfo GetCreatePlayerFunc(AbstractGame game) { FieldInfo createOwnerFunc = PrivateValueAccessor.GetPrivateFieldInfo(game.GetType().BaseType, "func_0"); if (createOwnerFunc == null) { return(null); } return(createOwnerFunc); }