internal bool SerializeProtoActionReference <TDoc, TCursor>(IO.TagElementStream <TDoc, TCursor, string> s, string attributeName, ref IMegaloScriptProtoAction action) where TDoc : class where TCursor : class { bool streamed = s.StreamAttributeOptIdAsString(attributeName, ref action, this, kProtoActionResolver, kProtoActionNameResolver, Predicates.IsNotNullOrEmpty); if (!streamed && s.IsReading) { action = null; } return(streamed); }
bool ParamSigIdsMatchIndex; // Params[x] == Params[sigId] is true for all params public MegaloScriptProtoParamsPostprocessState(TextWriter errorWriter, IMegaloScriptProtoAction action) : this() { mAction = action; ParamsBySigId = new MegaloScriptProtoParam[action.Parameters.Count]; mErrorWriter = errorWriter; }
public MegaloScriptProtoActionParameters(IMegaloScriptProtoAction action) { mAction = action; mParams = new List <MegaloScriptProtoParam>(); }