本文整理汇总了C#中Decal.IsFellowshipCreated方法的典型用法代码示例。如果您正苦于以下问题:C# Decal.IsFellowshipCreated方法的具体用法?C# Decal.IsFellowshipCreated怎么用?C# Decal.IsFellowshipCreated使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Decal
的用法示例。
在下文中一共展示了Decal.IsFellowshipCreated方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: _decalEventsProxy_ChatBoxMessage
void _decalEventsProxy_ChatBoxMessage(object sender, Decal.Adapter.ChatTextInterceptEventArgs e)
{
string tmpValue;
string tmpValue2;
// TODO : Support MemberDied
if (e.IsFellowshipCreated(out tmpValue))
{
var createdEventArgs = new FellowshipCreatedEventArgs(tmpValue);
REPlugin.Instance.Debug.WriteObject(createdEventArgs);
if (this.Created != null)
{
this.Created(this, createdEventArgs);
}
}
else if (e.IsFellowshipDisbanded(out tmpValue))
{
var disbandEventArgs = new FellowshipDisbandEventArgs(tmpValue);
REPlugin.Instance.Debug.WriteObject(disbandEventArgs);
if (this.Disband != null)
{
this.Disband(sender, disbandEventArgs);
}
}
else if (e.IsYouHaveBeenDismissedFromFellowship(out tmpValue))
{
var dismissedYouEventArgs = new FellowshipDismissedYouEventArgs(tmpValue);
REPlugin.Instance.Debug.WriteObject(dismissedYouEventArgs);
if (this.DismissedYou != null)
{
this.DismissedYou(sender, dismissedYouEventArgs);
}
}
else if (e.IsPlayerJoinedFellowship(out tmpValue))
{
var joinedEventArgs = new FellowshipJoinedOtherEventArgs(tmpValue);
REPlugin.Instance.Debug.WriteObject(joinedEventArgs);
if (this.JoinedOther != null)
{
this.JoinedOther(this, joinedEventArgs);
}
}
else if (e.IsYouHaveBeenRecruitedToFellowship(out tmpValue, out tmpValue2))
{
var recruitedEventArgs = new FellowshipJoinedYouEventArgs(tmpValue, tmpValue2);
REPlugin.Instance.Debug.WriteObject(recruitedEventArgs);
if (this.JoinedYou != null)
{
this.JoinedYou(this, recruitedEventArgs);
}
}
else if (e.IsPlayerLeftFellowship(out tmpValue))
{
var leftEventArgs = new FellowshipQuitOtherEventArgs(tmpValue);
REPlugin.Instance.Debug.WriteObject(leftEventArgs);
if (this.QuitOther != null)
{
this.QuitOther(this, leftEventArgs);
}
}
else if (e.IsYouLeftFellowship(out tmpValue))
{
var quitYouEventArgs = new FellowshipQuitYouEventArgs(tmpValue);
REPlugin.Instance.Debug.WriteObject(quitYouEventArgs);
if (this.QuitYou != null)
{
this.QuitYou(this, quitYouEventArgs);
}
}
}