Skip to content

Commit

Permalink
modified tpl scripts (add #ROOTNAMESPACE# symbol)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael811125 committed Mar 15, 2024
1 parent 4ebdaec commit e7c0a58
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Cysharp.Threading.Tasks;
using OxGFrame.CenterFrame.APICenter;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : APIBase
{
/* Declare Your Delegate (Callback) */
Expand Down Expand Up @@ -129,3 +130,4 @@ public class #SCRIPTNAME# : APIBase
);
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using OxGFrame.CenterFrame;
using OxGFrame.CenterFrame.APICenter;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : CenterBase<#SCRIPTNAME#, APIBase>
{
public #SCRIPTNAME#()
Expand All @@ -16,3 +17,4 @@ public class #SCRIPTNAME# : CenterBase<#SCRIPTNAME#, APIBase>
*/
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Cysharp.Threading.Tasks;
using OxGFrame.CenterFrame.EventCenter;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : EventBase
{
/* Declare Your Parameters */
Expand Down Expand Up @@ -30,3 +31,4 @@ public class #SCRIPTNAME# : EventBase
*/
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using OxGFrame.CenterFrame;
using OxGFrame.CenterFrame.EventCenter;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : CenterBase<#SCRIPTNAME#, EventBase>
{
public #SCRIPTNAME#()
Expand All @@ -16,3 +17,4 @@ public class #SCRIPTNAME# : CenterBase<#SCRIPTNAME#, EventBase>
*/
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using OxGFrame.CoreFrame.CPFrame;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : CPBase
{
// Use ~Node@XXX to Bind
Expand Down Expand Up @@ -49,3 +50,4 @@ public class #SCRIPTNAME# : CPBase
*/
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Cysharp.Threading.Tasks;
using OxGFrame.CoreFrame.SRFrame;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : SRBase
{
// Use _Node@XXX to Bind
Expand Down Expand Up @@ -85,3 +86,4 @@ public class #SCRIPTNAME# : SRBase
*/
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using OxGFrame.CoreFrame.UIFrame;
using Cysharp.Threading.Tasks;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : UIBase
{
// Use _Node@XXX to Bind
Expand Down Expand Up @@ -95,3 +96,4 @@ public class #SCRIPTNAME# : UIBase
*/
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Cysharp.Threading.Tasks;
using OxGFrame.GSIFrame;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : GSIBase
{
// Execution Order: OnCreate (Once) > OnEnter (Every Change) > OnUpdate
Expand All @@ -25,3 +26,4 @@ public class #SCRIPTNAME# : GSIBase
/* Do Somethings OnExit in here */
}
}
#ROOTNAMESPACEEND#
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using OxGFrame.GSIFrame;

#ROOTNAMESPACEBEGIN#
public class #SCRIPTNAME# : GSIManagerBase<#SCRIPTNAME#>
{
public #SCRIPTNAME#()
Expand Down Expand Up @@ -48,4 +49,4 @@ public class #SCRIPTNAME# : GSIManagerBase<#SCRIPTNAME#>
base.OnUpdate(dt); // Must be called
}
}

#ROOTNAMESPACEEND#

0 comments on commit e7c0a58

Please sign in to comment.