private void SetSendStamp() { int currentChatChannel = (int)GlobalVars.CurrentChatChannel; int stamp_id = int.Parse(FlowNode_Variable.Get("SELECT_STAMP_ID")); FlowNode_SendChatMessage component = (FlowNode_SendChatMessage)((Component)this).get_gameObject().GetComponent <FlowNode_SendChatMessage>(); if (!Object.op_Inequality((Object)component, (Object)null)) { return; } component.SetStampData(currentChatChannel, stamp_id); FlowNode_GameObject.ActivateOutputLinks((Component)this, 101); }
private void OnSetSendMessage(InputFieldCensorship field) { if (string.IsNullOrEmpty(this.InputFieldMessage.get_text())) { return; } int currentChatChannel = (int)GlobalVars.CurrentChatChannel; string message = this.InputFieldMessage.get_text(); if (message.Length > this.CharacterLimit) { message = message.Substring(0, this.CharacterLimit); } FlowNode_SendChatMessage component = (FlowNode_SendChatMessage)((Component)this).get_gameObject().GetComponent <FlowNode_SendChatMessage>(); if (!Object.op_Inequality((Object)component, (Object)null)) { return; } component.SetMessageData(currentChatChannel, message); }